aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/UndoStack.tsx
diff options
context:
space:
mode:
authormonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-19 08:52:33 -0400
committermonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-19 08:52:33 -0400
commit40a39db25646b513c25554a2abdf35ef977500a8 (patch)
treec32e91535bff1b05c8533d5e46ebe55cd7f408db /src/client/views/UndoStack.tsx
parent5e8cc0a6a7f8dfc0c33fbdfa8879de88f057233e (diff)
Revert "Revert "Revert "Toggling icon for mic and added webcapturedoc to dropdown"""
This reverts commit 5e8cc0a6a7f8dfc0c33fbdfa8879de88f057233e.
Diffstat (limited to 'src/client/views/UndoStack.tsx')
-rw-r--r--src/client/views/UndoStack.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/UndoStack.tsx b/src/client/views/UndoStack.tsx
index 813cdd050..a551e5332 100644
--- a/src/client/views/UndoStack.tsx
+++ b/src/client/views/UndoStack.tsx
@@ -37,7 +37,7 @@ export class UndoStack extends React.Component<UndoStackProps> {
}}>
{UndoManager.undoStackNames.map((name, i) => (
<div className="undoStack-resultContainer" key={i}>
- <div className="undoStack-commandString">{StrCast(name).replace(/[^\.]*\./, '')}</div>
+ <div className="undoStack-commandString">{name.replace(/[^\.]*\./, '')}</div>
</div>
))}
{Array.from(UndoManager.redoStackNames)
@@ -45,7 +45,7 @@ export class UndoStack extends React.Component<UndoStackProps> {
.map((name, i) => (
<div className="undoStack-resultContainer" key={i}>
<div className="undoStack-commandString" style={{ fontWeight: 'bold', color: 'red' }}>
- {StrCast(name).replace(/[^\.]*\./, '')}
+ {name.replace(/[^\.]*\./, '')}
</div>
</div>
))}