1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00:00

fix(command): remove compose action

This commit is contained in:
三咲智子 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

View file

@ -245,20 +245,6 @@ export const provideGlobalCommands = () => {
const masto = useMasto()
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({
scope: 'Navigation',