diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2023-05-31 21:17:48 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2023-05-31 21:30:37 +0530 |
commit | ee9c6ff0197ee4c7cd1cfe5cc5e4932402e22606 (patch) | |
tree | bf225ed68ed48bf5b723d09cf1aadfc9d9508891 /src | |
parent | 6.3.0-nightly.15 [skip ci] (diff) | |
download | ferdium-app-ee9c6ff0197ee4c7cd1cfe5cc5e4932402e22606.tar.gz ferdium-app-ee9c6ff0197ee4c7cd1cfe5cc5e4932402e22606.tar.zst ferdium-app-ee9c6ff0197ee4c7cd1cfe5cc5e4932402e22606.zip |
Fix to remove the 'undefined' suffix on tooltips beyond the 10th service/workspace
Diffstat (limited to 'src')
-rw-r--r-- | src/jsUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsUtils.ts b/src/jsUtils.ts index ac7258644..f6a1df2fe 100644 --- a/src/jsUtils.ts +++ b/src/jsUtils.ts | |||
@@ -29,4 +29,4 @@ export const acceleratorString = ( | |||
29 | keyCombo: string, | 29 | keyCombo: string, |
30 | prefix: string = '(', | 30 | prefix: string = '(', |
31 | suffix: string = ')', | 31 | suffix: string = ')', |
32 | ) => (index <= 10 ? `${prefix}${keyCombo}+${index % 10}${suffix}` : undefined); | 32 | ) => (index <= 10 ? `${prefix}${keyCombo}+${index % 10}${suffix}` : ''); |