File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 268
268
/>
269
269
</ContextMenuSection >
270
270
{/ snippet }
271
+ <!-- For now, just swallow this error -->
272
+ {#snippet error ()}{/ snippet }
271
273
</ReduxResult >
272
274
{/if }
273
275
Original file line number Diff line number Diff line change @@ -36,13 +36,12 @@ export class PrPersistedStore {
36
36
}
37
37
38
38
dispatchCurrent ( ) {
39
- this . dispatch ( this . persisted !== '' ? this . persisted : this . _default ) ;
39
+ this . dispatch ( ! isEmptyOrUndefined ( this . persisted ) ? this . persisted : this . _default ) ;
40
40
}
41
41
42
42
dispatch ( value : string ) {
43
- const dispatchValue = isEmptyOrUndefined ( value ) ? this . _default : value ;
44
43
for ( const subscriber of this . subscribers ) {
45
- subscriber ( dispatchValue ) ;
44
+ subscriber ( value ) ;
46
45
}
47
46
}
48
47
You can’t perform that action at this time.
0 commit comments