diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-06-03 07:31:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 07:31:19 +0900 |
| commit | 3bc81522c65d724de121cbe6265c60e48a8f8ae7 (patch) | |
| tree | 1d526c17f19ec0209d2a4b179cb6756e25b2b916 /packages/frontend/src/pages/admin/roles.edit.vue | |
| parent | [skip ci] Update CHANGELOG.md (prepend template) (diff) | |
| download | misskey-3bc81522c65d724de121cbe6265c60e48a8f8ae7.tar.gz misskey-3bc81522c65d724de121cbe6265c60e48a8f8ae7.tar.bz2 misskey-3bc81522c65d724de121cbe6265c60e48a8f8ae7.zip | |
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip
* Update flash-edit.vue
Diffstat (limited to 'packages/frontend/src/pages/admin/roles.edit.vue')
| -rw-r--r-- | packages/frontend/src/pages/admin/roles.edit.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/admin/roles.edit.vue b/packages/frontend/src/pages/admin/roles.edit.vue index 7790fe3925..1a903eedb9 100644 --- a/packages/frontend/src/pages/admin/roles.edit.vue +++ b/packages/frontend/src/pages/admin/roles.edit.vue @@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only <script lang="ts" setup> import { computed, ref } from 'vue'; import * as Misskey from 'misskey-js'; -import { v4 as uuid } from 'uuid'; +import { genId } from '@/utility/id.js'; import XEditor from './roles.editor.vue'; import * as os from '@/os.js'; import { misskeyApi } from '@/utility/misskey-api.js'; @@ -55,7 +55,7 @@ if (props.id) { color: null, iconUrl: null, target: 'manual', - condFormula: { id: uuid(), type: 'isRemote' }, + condFormula: { id: genId(), type: 'isRemote' }, isPublic: false, isExplorable: false, asBadge: false, |