1
0
Fork 0

chore(plugin-annotations): Another flag preset

This commit is contained in:
Joost De Cock 2023-09-15 16:57:42 +02:00
parent b3b0d4b7bc
commit 967bebdaf5

View file

@ -67,7 +67,7 @@ function unflag(type, store, id) {
* Available flag presets
*/
const presets = {
expand: {
expandIsOff: {
type: 'tip',
title: 'flag:expandIsOff.t',
desc: 'flag:expandIsOff.d',
@ -79,4 +79,16 @@ const presets = {
},
},
},
expandIsOn: {
type: 'tip',
title: 'flag:expandIsOn.t',
desc: 'flag:expandIsOn.d',
suggest: {
text: 'flag:disable',
icon: 'expand',
update: {
settings: ['expand', null],
},
},
},
}