fix: save button of profile edit modal

This commit is contained in:
Jannat Patel
2025-12-17 11:23:10 +05:30
parent 371c72b96c
commit 126570fcca
2 changed files with 7 additions and 9 deletions

View File

@@ -3,13 +3,6 @@
:options="{
title: 'Edit your profile',
size: '3xl',
actions: [
{
label: 'Save',
variant: 'solid',
onClick: (close) => saveProfile(close),
},
],
}"
>
<template #body-content>
@@ -117,6 +110,13 @@
</div>
</div>
</template>
<template #actions="{ close }">
<div class="pb-5 float-right">
<Button variant="solid" @click="saveProfile(close)">
{{ __('Save') }}
</Button>
</div>
</template>
</Dialog>
</template>
<script setup>

View File

@@ -153,7 +153,6 @@ const categories = createListResource({
})
const updateParticipants = () => {
console.log('updating participants')
updateFilters()
getMemberCount()
setQueryParams()
@@ -165,7 +164,6 @@ const updateParticipants = () => {
}
const updateFilters = () => {
console.log(currentCategory.value)
if (currentCategory.value) {
filters.value.category = currentCategory.value
} else {