mirror of https://github.com/elk-zone/elk.git
fix(command): remove compose action
This commit is contained in:
parent
413f2e1fea
commit
35c9a871be
|
@ -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 New Issue