@ws-ui/store 0.0.39 → 0.0.40

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/dist/index.es.js CHANGED
@@ -10772,7 +10772,7 @@ const xr = re("modals/open", async (e, { dispatch: r }) => {
10772
10772
  e.selectedTab = r.payload;
10773
10773
  },
10774
10774
  toggleForceLogin: (e, r) => {
10775
- e.forceLogin = r.payload;
10775
+ e.forceLogin !== r.payload && (e.forceLogin = r.payload, e.flags.touched = !0);
10776
10776
  },
10777
10777
  setRolesContent(e, r) {
10778
10778
  const { content: t, flags: a = {}, ...i } = r.payload, s = Qc(t), c = {