enhance(frontend): クリップボタンをノートアクションに追加できるように

This commit is contained in:
syuilo
2023-03-24 16:54:37 +09:00
parent e438091113
commit 5f52b13325
13 changed files with 199 additions and 62 deletions

View File

@@ -26,6 +26,7 @@ import { i18n } from '@/i18n';
import { definePageMetadata } from '@/scripts/page-metadata';
import { useRouter } from '@/router';
import MkButton from '@/components/MkButton.vue';
import { rolesCache } from '@/cache';
const router = useRouter();
@@ -61,6 +62,7 @@ if (props.id) {
}
async function save() {
rolesCache.delete();
if (role) {
os.apiWithDialog('admin/roles/update', {
roleId: role.id,