mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-02-17 15:01:42 +08:00
Remove required comment length on org deletion
This commit is contained in:
parent
3862f3d887
commit
83e4c7fdb5
@ -33,7 +33,7 @@ async function deleteOrg() {
|
||||
<template #default>
|
||||
<p class="mb-2">{{ i18n.t("organization.settings.deleteModal.description", [organization]) }}</p>
|
||||
<InputTextarea v-model.trim="comment" rows="2" :label="i18n.t('general.comment')" />
|
||||
<Button button-type="red" class="mt-3" :disabled="loading || comment.length < 7" @click="deleteOrg()">{{ i18n.t("general.delete") }}</Button>
|
||||
<Button button-type="red" class="mt-3" :disabled="loading" @click="deleteOrg()">{{ i18n.t("general.delete") }}</Button>
|
||||
</template>
|
||||
<template #activator="{ on }">
|
||||
<Button button-type="red" size="small" class="mr-1" v-on="on"><IconMdiDeleteAlert /></Button>
|
||||
|
Loading…
Reference in New Issue
Block a user