@northern.tech/store 0.46.3 → 0.46.5
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/deploymentsSlice/thunks.d.cts +9 -9
- package/dist/deploymentsSlice/thunks.d.ts +9 -9
- package/dist/devicesSlice/selectors.cjs +1 -1
- package/dist/devicesSlice/selectors.cjs.map +1 -1
- package/dist/devicesSlice/selectors.js +1 -1
- package/dist/devicesSlice/selectors.js.map +1 -1
- package/dist/organizationSlice/thunks.d.cts +12 -12
- package/dist/organizationSlice/thunks.d.ts +12 -12
- package/dist/thunks.cjs +2 -2
- package/dist/thunks.cjs.map +1 -1
- package/dist/thunks.js +2 -2
- package/dist/thunks.js.map +1 -1
- package/dist/usersSlice/thunks.d.cts +84 -84
- package/dist/usersSlice/thunks.d.ts +84 -84
- package/dist/utils.cjs +1 -4
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -4
- package/dist/utils.js.map +1 -1
- package/package.json +2 -2
package/dist/thunks.js
CHANGED
|
@@ -566,11 +566,11 @@ const removeDevicesFromGroup = createAppAsyncThunk(`${sliceName$2}/removeDevices
|
|
|
566
566
|
message: `The ${pluralize("devices", deviceIds.length)} ${pluralize("were", deviceIds.length)} removed from the group`,
|
|
567
567
|
autoHideDuration: TIMEOUTS.fiveSeconds
|
|
568
568
|
}))])));
|
|
569
|
-
const addStaticGroup = createAppAsyncThunk(`${sliceName$2}/addStaticGroup`, ({ group, devices }, { dispatch, getState }) =>
|
|
569
|
+
const addStaticGroup = createAppAsyncThunk(`${sliceName$2}/addStaticGroup`, ({ group, devices }, { dispatch, getState }) => dispatch(addDevicesToGroup({
|
|
570
570
|
group,
|
|
571
571
|
deviceIds: devices.map(({ id }) => id),
|
|
572
572
|
isCreation: true
|
|
573
|
-
}))).then(() => Promise.resolve(dispatch(actions$2.addGroup({
|
|
573
|
+
})).unwrap().then(() => Promise.resolve(dispatch(actions$2.addGroup({
|
|
574
574
|
group: {
|
|
575
575
|
deviceIds: [],
|
|
576
576
|
total: 0,
|