custom error shortcuts

This commit is contained in:
Jan Prochazka
2021-04-10 20:51:33 +02:00
parent 817286d326
commit 12fd5f6943
13 changed files with 138 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
import _ from 'lodash';
import { onMount } from 'svelte';
import { commands, getVisibleCommandPalette, visibleCommandPalette } from '../stores';
import { commands, commandsCustomized, getVisibleCommandPalette, visibleCommandPalette } from '../stores';
import clickOutside from '../utility/clickOutside';
import keycodes from '../utility/keycodes';
import registerCommand from './registerCommand';
@@ -40,7 +40,7 @@
});
$: sortedComands = _.sortBy(
Object.values($commands).filter(x => x.enabled),
Object.values($commandsCustomized).filter(x => x.enabled),
'text'
);