mirror of
https://example.com
synced 2024-11-23 05:36:39 +09:00
fix: anyone (not only the owner) can press the edit button of an album
This commit is contained in:
parent
dd6ef65dee
commit
ee4ddabc6b
1 changed files with 1 additions and 8 deletions
|
@ -229,14 +229,7 @@ function edit() {
|
||||||
|
|
||||||
watch(() => props.postId, fetchPost, { immediate: true });
|
watch(() => props.postId, fetchPost, { immediate: true });
|
||||||
|
|
||||||
const headerActions = computed(() => [
|
const headerActions = computed(() => []);
|
||||||
{
|
|
||||||
icon: `${icon("ph-pencil")}`,
|
|
||||||
text: i18n.ts.edit,
|
|
||||||
handler: edit,
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
const headerTabs = computed(() => []);
|
const headerTabs = computed(() => []);
|
||||||
|
|
||||||
definePageMetadata(
|
definePageMetadata(
|
||||||
|
|
Loading…
Reference in a new issue