File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
apps/systemtags/src/components Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5151 <!-- Color picker -->
5252 <NcColorPicker :data-cy-systemtags-picker-tag-color =" tag.id"
5353 :value =" `#${tag.color}`"
54- :shown.sync =" openedPicker"
54+ :shown =" openedPicker === tag.id "
5555 class =" systemtags-picker__tag-color"
5656 @update:value =" onColorChange(tag, $event)"
57+ @update:shown =" openedPicker = $event ? tag.id : false"
5758 @submit =" openedPicker = false" >
5859 <NcButton :aria-label =" t('systemtags', 'Change tag color')" type =" tertiary" >
5960 <template #icon >
@@ -210,7 +211,7 @@ export default defineComponent({
210211 return {
211212 status: Status .BASE ,
212213 opened: true ,
213- openedPicker: false ,
214+ openedPicker: false as number | false ,
214215
215216 input: ' ' ,
216217 tags: [] as TagWithId [],
You can’t perform that action at this time.
0 commit comments