mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
add debug log
This commit is contained in:
parent
bff160a904
commit
84ebba4070
@ -22,7 +22,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { ref, computed, onMounted, watch } from 'vue'
|
||||
import { useQuery } from '@vue/apollo-composable'
|
||||
import { useRoute } from 'vue-router'
|
||||
import { reachableCommunities } from '@/graphql/communities.graphql'
|
||||
@ -65,6 +65,13 @@ const communityIdentifier = computed(
|
||||
() => route.params.communityIdentifier || props.communityIdentifier,
|
||||
)
|
||||
|
||||
watch(
|
||||
() => communityIdentifier.value,
|
||||
(value) => {
|
||||
console.log('CommunitySwitch.communityIdentifier.value', value)
|
||||
},
|
||||
)
|
||||
|
||||
function updateCommunity(community) {
|
||||
// console.log('CommunitySwitch.updateCommunity...community=', community)
|
||||
emit('update:model-value', community)
|
||||
|
||||
@ -304,6 +304,13 @@ watch(
|
||||
},
|
||||
)
|
||||
|
||||
watch(
|
||||
() => autoCommunityIdentifier.value,
|
||||
(value) => {
|
||||
console.log('autoCommunityIdentifier.value', value)
|
||||
},
|
||||
)
|
||||
|
||||
function onSubmit() {
|
||||
const transformedForm = validationSchema.value.cast(form)
|
||||
const parts = transformedForm.identifier.split('/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user