File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
// @description Adds the magic of AI to Amazon shopping
4
4
// @author KudoAI
5
5
// @namespace https://kudoai.com
6
- // @version 2025.1.11.1
6
+ // @version 2025.1.11.2
7
7
// @license MIT
8
8
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
9
9
// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
232
232
load ( ...keys ) {
233
233
keys . flat ( ) . forEach ( key => {
234
234
config [ key ] = GM_getValue ( `${ app . configKeyPrefix } _${ key } ` ,
235
- this . controls ?. [ key ] ?. defaultVal || this . controls ?. [ key ] ?. type == 'toggle' )
235
+ this . controls ?. [ key ] ?. defaultVal ?? this . controls ?. [ key ] ?. type == 'toggle' )
236
236
} )
237
237
} ,
238
238
save ( key , val ) { GM_setValue ( `${ app . configKeyPrefix } _${ key } ` , val ) ; config [ key ] = val }
You can’t perform that action at this time.
0 commit comments