fix(command): remove compose action

zio/stable
三咲智子 2023-01-07 01:32:53 +08:00
parent 413f2e1fea
commit 35c9a871be
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 0 additions and 14 deletions

View File

@ -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',