version 0.5.23:

fix q-toggle was disabled
This commit is contained in:
Paolo Arena
2022-10-05 21:36:05 +02:00
parent 201d148e31
commit 9d40649af3
10 changed files with 12 additions and 9 deletions

View File

@@ -117,10 +117,12 @@ export default defineComponent({
}
watch(() => filtercustom.value, (value: any, oldval: any) => {
/*watch(() => filtercustom.value, (value: any, oldval: any) => {
updatefilter(myrecfiltertoggle.value)
})
*/
watch(() => myrecfiltertoggle.value, (value: any, oldval: any) => {
updatefilter(value)
},

View File

@@ -17,7 +17,7 @@
<div v-else>
<q-toggle
dark color="green" v-model="myvalue" :label="col.title"
:disable="disable && (col.name !== 'profile.saw_zoom_presentation') || !isInModif"
:disable="disable && (col.name !== 'profile.saw_zoom_presentation') || (!isInModif && !canModify && !canEdit)"
@update:model-value="Savedb"></q-toggle>
</div>
</div>