mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-24 14:24:47 +08:00
chore(frontend): disable donation thingy for now
This commit is contained in:
parent
0ff65d9f8f
commit
6edc1d2ff5
@ -90,7 +90,7 @@ const slug = computed(() => props.project.namespace.owner + "/" + props.project.
|
||||
class="min-h-10"
|
||||
/>
|
||||
<DonationModal
|
||||
v-if="project.settings.donation.enable"
|
||||
v-if="project.settings.donation.enable && false"
|
||||
:donation-subject="project.settings.donation.subject"
|
||||
:donation-target="project.namespace.owner + '/' + project.name"
|
||||
/>
|
||||
|
@ -33,6 +33,7 @@ import { validProjectName } from "~/composables/useHangarValidations";
|
||||
import "vue-advanced-cropper/dist/style.css";
|
||||
import InputAutocomplete from "~/lib/components/ui/InputAutocomplete.vue";
|
||||
import { definePageMeta } from "#imports";
|
||||
import Alert from "~/lib/components/design/Alert.vue";
|
||||
|
||||
definePageMeta({
|
||||
projectPermsRequired: ["EDIT_SUBJECT_SETTINGS"],
|
||||
@ -427,14 +428,16 @@ useHead(
|
||||
</ProjectSettingsSection>
|
||||
</template>
|
||||
<template #donation>
|
||||
<Alert type="info" class="my-4">Coming Soon!</Alert>
|
||||
<ProjectSettingsSection title="project.settings.donation.enable">
|
||||
<InputCheckbox v-model="form.settings.donation.enable" :label="i18n.t('project.settings.donation.enableSub')" />
|
||||
<InputCheckbox v-model="form.settings.donation.enable" :label="i18n.t('project.settings.donation.enableSub')" disabled />
|
||||
</ProjectSettingsSection>
|
||||
<ProjectSettingsSection title="project.settings.donation.subject" description="project.settings.donation.subjectSub">
|
||||
<InputText
|
||||
v-model="form.settings.donation.subject"
|
||||
:label="i18n.t('project.settings.donation.subjectLabel')"
|
||||
:rules="[requiredIf()(form.settings.donation.enable)]"
|
||||
disabled
|
||||
/>
|
||||
</ProjectSettingsSection>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user