change rendering of community-switch

This commit is contained in:
clauspeterhuebner 2025-04-23 00:55:14 +02:00
parent 0ef80978e0
commit 16d1863af5

View File

@ -18,13 +18,16 @@
</BRow>
<h3>
<BRow>
<BCol class="fw-bold">
<BCol v-if="!isDisbursementLink" class="fw-bold">
<community-switch
:disabled="isDisbursementLink"
:model-value="currentReceiverCommunity"
@update:model-value="setReceiverCommunity"
/>
</BCol>
<BCol v-else>
{{ currentReceiverCommunity.name }}
</BCol>
<BCol v-if="isForeignCommunitySelected" sm="12" md="6" class="mt-4 mt-lg-0">
<p>{{ $t('gdd_per_link.switchCommunity') }}</p>
<BButton variant="gradido" @click="onSwitch">