1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

fix lint errors in SkRemoteFollowersWarning.vue and MkInfo.vue

This commit is contained in:
Hazelnoot
2025-04-02 09:36:18 -04:00
parent 1840aad741
commit 2eae1797cb
2 changed files with 6 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<i v-if="warn" class="ti ti-alert-triangle" :class="$style.i"></i>
<i v-else class="ti ti-info-circle" :class="$style.i"></i>
<div><slot></slot></div>
<button v-if="closable" :class="$style.button" class="_button" @click="close()"><i class="ti ti-x"></i></button>
<button v-if="closable" :class="$style.button" class="_button" @click="closeInfo()"><i class="ti ti-x"></i></button>
</div>
</template>
@@ -24,7 +24,7 @@ const emit = defineEmits<{
(ev: 'close'): void;
}>();
function close() {
function closeInfo() {
// こいつの中では非表示動作は行わない
emit('close');
}