Update some Icons to auto-import

This commit is contained in:
Matthias 2023-05-09 18:16:58 +02:00
parent 45d93d19e3
commit f4d4309be3
2 changed files with 3 additions and 10 deletions

View File

@ -13,7 +13,7 @@
class="d-flex"
@click="botStore.selectBot(bot.botId)"
>
<ReorderIcon v-if="!small" class="handle me-2 fs-4" />
<i-mdi-reorder-horizontal v-if="!small" class="handle me-2 fs-4" />
<bot-rename
v-if="editingBots.includes(bot.botId)"
:bot="bot"
@ -38,7 +38,6 @@
import BotEntry from '@/components/BotEntry.vue';
import BotRename from '@/components/BotRename.vue';
import LoginModal from '@/views/LoginModal.vue';
import ReorderIcon from '~icons/mdi/reorder-horizontal';
import { useBotStore } from '@/stores/ftbotwrapper';
import { AuthStorageWithBotId, BotDescriptor } from '@/types';

View File

@ -11,11 +11,11 @@
<div class="d-flex ms-2">
<b-button type="submit" size="sm" title="Save">
<CheckIcon />
<i-mdi-check />
</b-button>
<b-button class="ms-1" size="sm" title="Cancel" @click="$emit('cancelled')">
<CloseIcon />
<i-mdi-close />
</b-button>
</div>
</form>
@ -25,15 +25,9 @@
import { useBotStore } from '@/stores/ftbotwrapper';
import { BotDescriptor } from '@/types';
import { defineComponent, ref } from 'vue';
import CheckIcon from '~icons/mdi/check';
import CloseIcon from '~icons/mdi/close';
export default defineComponent({
name: 'BotRename',
components: {
CheckIcon,
CloseIcon,
},
props: {
bot: { type: Object as () => BotDescriptor, required: true },
},