upd: append ✔ on set filter

This commit is contained in:
Marie 2024-11-01 17:45:04 +00:00
parent 131fab1032
commit c8357a410b

View file

@ -72,7 +72,7 @@ function options(ev) {
{ {
type: 'button', type: 'button',
icon: 'ph-image ph-bold ph-lg', icon: 'ph-image ph-bold ph-lg',
text: 'With Images', text: `With Images ${filetype.value === 'image' ? '✔' : ''}`,
action: () => { action: () => {
filetype.value = 'image'; filetype.value = 'image';
}, },
@ -80,7 +80,7 @@ function options(ev) {
{ {
type: 'button', type: 'button',
icon: 'ph-music-notes-simple ph-bold ph-lg', icon: 'ph-music-notes-simple ph-bold ph-lg',
text: 'With Audios', text: `With Audios ${filetype.value === 'audio' ? '✔' : ''}`,
action: () => { action: () => {
filetype.value = 'audio'; filetype.value = 'audio';
}, },
@ -88,7 +88,7 @@ function options(ev) {
{ {
type: 'button', type: 'button',
icon: 'ph-video ph-bold ph-lg', icon: 'ph-video ph-bold ph-lg',
text: 'With Videos', text: `With Videos ${filetype.value === 'video' ? '✔' : ''}`,
action: () => { action: () => {
filetype.value = 'video'; filetype.value = 'video';
}, },