mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-04 11:14:14 +02:00
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip * Update flash-edit.vue
This commit is contained in:
@@ -119,7 +119,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import XPalette from './emoji-palette.palette.vue';
|
||||
import MkRadios from '@/components/MkRadios.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
@@ -159,7 +159,7 @@ function addPalette() {
|
||||
prefer.commit('emojiPalettes', [
|
||||
...prefer.s.emojiPalettes,
|
||||
{
|
||||
id: uuid(),
|
||||
id: genId(),
|
||||
name: '',
|
||||
emojis: [],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user