@nixweb/nixloc-ui 1.21.0 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -460,6 +460,10 @@ export default {
|
|
|
460
460
|
cleanTags: (state) => {
|
|
461
461
|
state.tags = []
|
|
462
462
|
},
|
|
463
|
+
openModal: (state, name) => {
|
|
464
|
+
state.modal.name = name;
|
|
465
|
+
state.modal.open = true;
|
|
466
|
+
},
|
|
463
467
|
addFilterStorage: (state, obj) => {
|
|
464
468
|
const index = state.filterStorage.findIndex(x => x.key === obj.key);
|
|
465
469
|
if (index !== -1) {
|
|
@@ -489,7 +493,7 @@ export default {
|
|
|
489
493
|
updateQueryTags: (state, tags) => {
|
|
490
494
|
state.queryTags = tags;
|
|
491
495
|
},
|
|
492
|
-
_addFilterStorage: (state, obj) => { // está com _addFilterStorage para não ter duplicidade
|
|
496
|
+
_addFilterStorage: (state, obj) => { // está com _addFilterStorage para não ter duplicidade
|
|
493
497
|
// função abaixo é para não deixar duplicidade
|
|
494
498
|
const index = state._filterStorage.findIndex(x => x.routeName === obj.routeName);
|
|
495
499
|
if (index !== -1) {
|