fix: save button of profile edit modal
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user