1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 04:56:12 +02:00

enhance(frontend): IDにUUIDを使うのをやめる (#16138)

* wip

* Update flash-edit.vue
This commit is contained in:
syuilo
2025-06-03 07:31:19 +09:00
committed by GitHub
parent 2a077de148
commit 3bc81522c6
25 changed files with 78 additions and 57 deletions

View File

@@ -5,11 +5,11 @@
import { notificationTypes } from 'misskey-js';
import { ref } from 'vue';
import { v4 as uuid } from 'uuid';
import { i18n } from './i18n.js';
import type { BasicTimelineType } from '@/timelines.js';
import type { SoundStore } from '@/preferences/def.js';
import type { MenuItem } from '@/types/menu.js';
import { genId } from '@/utility/id.js';
import { deepClone } from '@/utility/clone.js';
import { prefer } from '@/preferences.js';
import * as os from '@/os.js';
@@ -103,7 +103,7 @@ function addProfile(name: string) {
if (prefer.s['deck.profiles'].find(p => p.name === name)) return;
const newProfile: DeckProfile = {
id: uuid(),
id: genId(),
name,
columns: [],
layout: [],