forked from Mirrors/elk
fix(command): remove compose action
This commit is contained in:
parent
413f2e1fea
commit
35c9a871be
1 changed files with 0 additions and 14 deletions
|
@ -245,20 +245,6 @@ export const provideGlobalCommands = () => {
|
||||||
const masto = useMasto()
|
const masto = useMasto()
|
||||||
const colorMode = useColorMode()
|
const colorMode = useColorMode()
|
||||||
|
|
||||||
useCommand({
|
|
||||||
scope: 'Actions',
|
|
||||||
|
|
||||||
visible: () => currentUser.value,
|
|
||||||
|
|
||||||
name: () => t('action.compose'),
|
|
||||||
icon: 'i-ri:quill-pen-line',
|
|
||||||
description: () => t('command.compose_desc'),
|
|
||||||
|
|
||||||
onActivate() {
|
|
||||||
openPublishDialog()
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
useCommand({
|
useCommand({
|
||||||
scope: 'Navigation',
|
scope: 'Navigation',
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue