refactor(client): refactoring

This commit is contained in:
syuilo 2022-07-02 14:00:37 +09:00
parent 52a1ec9af1
commit ded0f6f0df
90 changed files with 27 additions and 114 deletions

View file

@ -116,11 +116,9 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => props.postId ? {
title: i18n.ts.edit,
icon: 'fas fa-pencil-alt',
bg: 'var(--bg)',
} : {
title: i18n.ts.postToGallery,
icon: 'fas fa-pencil-alt',
bg: 'var(--bg)',
}));
</script>

View file

@ -122,7 +122,6 @@ const headerTabs = $computed(() => [{
definePageMetadata({
title: i18n.ts.gallery,
icon: 'fas fa-icons',
bg: 'var(--bg)',
});
</script>

View file

@ -149,7 +149,6 @@ const headerTabs = $computed(() => []);
definePageMetadata(computed(() => post ? {
title: post.title,
avatar: post.user,
bg: 'var(--bg)',
} : null));
</script>