@saltcorn/mobile-app 0.8.7 → 0.8.8-beta.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 +1 -1
- package/www/js/routes/edit.js +1 -1
package/package.json
CHANGED
package/www/js/routes/edit.js
CHANGED
|
@@ -10,7 +10,7 @@ const postToggleField = async (context) => {
|
|
|
10
10
|
if (isOfflineMode || localTableIds.indexOf(table.id) >= 0) {
|
|
11
11
|
if (role_id > table.min_role_write)
|
|
12
12
|
throw new saltcorn.data.utils.NotAuthorized(i18next.t("Not authorized"));
|
|
13
|
-
await table.toggleBool(+id, field_name);
|
|
13
|
+
await table.toggleBool(+id, field_name); //TODO call with user
|
|
14
14
|
if (isOfflineMode && !(await offlineHelper.getLastOfflineSession()))
|
|
15
15
|
await offlineHelper.setOfflineSession({ offlineUser: user_name });
|
|
16
16
|
} else {
|