aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/UndoStack.tsx
diff options
context:
space:
mode:
authormonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-22 15:41:44 -0400
committermonoguitari <113245090+monoguitari@users.noreply.github.com>2023-08-22 15:41:44 -0400
commite7362c2cdedf388b8be5a0ab077a72dd2c286d60 (patch)
treec53979ee52dd84762a12dedfaf6c52ad77175887 /src/client/views/UndoStack.tsx
parent9293fd8c4128b41b31f9b2214d6799fdff0f2aaa (diff)
parentec6a5f5d5684ca66cd21bb8fef91c86852dd126f (diff)
Merge remote-tracking branch 'origin/menu-shortcuts-4-jesus' into advanced-trails-2-jesus
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 a551e5332..813cdd050 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">{name.replace(/[^\.]*\./, '')}</div>
+ <div className="undoStack-commandString">{StrCast(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' }}>
- {name.replace(/[^\.]*\./, '')}
+ {StrCast(name).replace(/[^\.]*\./, '')}
</div>
</div>
))}