mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 03:24:00 +02:00
enhance(frontend): IDにUUIDを使うのをやめる (#16138)
* wip * Update flash-edit.vue
This commit is contained in:
@@ -17,7 +17,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, ref, computed } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { v4 as uuid } from 'uuid';
|
||||
import { genId } from '@/utility/id.js';
|
||||
import XStatusbar from './statusbar.statusbar.vue';
|
||||
import MkFolder from '@/components/MkFolder.vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
@@ -38,7 +38,7 @@ onMounted(() => {
|
||||
|
||||
async function add() {
|
||||
prefer.commit('statusbars', [...statusbars.value, {
|
||||
id: uuid(),
|
||||
id: genId(),
|
||||
type: null,
|
||||
black: false,
|
||||
size: 'medium',
|
||||
|
||||
Reference in New Issue
Block a user