mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-19 20:35:34 +02:00
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip * Update flash-edit.vue
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { genId } from '@/utility/id.js';
|
||||
|
||||
import type { Theme } from '@/theme.js';
|
||||
import { themeProps } from '@/theme.js';
|
||||
@@ -66,7 +66,7 @@ export const convertToMisskeyTheme = (vm: ThemeViewModel, name: string, desc: st
|
||||
}
|
||||
|
||||
return {
|
||||
id: uuid(),
|
||||
id: genId(),
|
||||
name, desc, author, props, base,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user