mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-21 22:45:36 +02:00
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip * Update flash-edit.vue
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import type { DeckProfile } from '@/deck.js';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import { ColdDeviceStorage, store } from '@/store.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||
@@ -42,7 +42,7 @@ export function migrateOldSettings() {
|
||||
key: key,
|
||||
});
|
||||
profiles.push({
|
||||
id: uuid(),
|
||||
id: genId(),
|
||||
name: key,
|
||||
columns: deck.columns,
|
||||
layout: deck.layout,
|
||||
|
||||
Reference in New Issue
Block a user