1
0
Fork 1
mirror of https://example.com synced 2024-11-22 23:46:38 +09:00

fix: anyone (not only the owner) can press the edit button of an album

This commit is contained in:
naskya 2023-11-17 09:17:56 +00:00
parent dd6ef65dee
commit ee4ddabc6b

View file

@ -229,14 +229,7 @@ function edit() {
watch(() => props.postId, fetchPost, { immediate: true });
const headerActions = computed(() => [
{
icon: `${icon("ph-pencil")}`,
text: i18n.ts.edit,
handler: edit,
},
]);
const headerActions = computed(() => []);
const headerTabs = computed(() => []);
definePageMetadata(