group commands

This commit is contained in:
Jan Prochazka
2021-03-15 21:06:15 +01:00
parent d4a35fb414
commit 321d5d71de
9 changed files with 49 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
<script context="module">
function getCommandTitle(command) {
let res = command.text;
if (command.keyText) res += ` (${command.keyText})`;
if (command.keyText || command.keyTextFromGroup) res += ` (${command.keyText || command.keyTextFromGroup})`;
return res;
}
</script>