not-options 0.2.2 → 0.2.3
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import CRUDGenericActionCreate from "not-bulma/src/frame/crud/actions/generic/create";
|
|
2
2
|
import UIImportFromJSON from "./import.from.json.svelte";
|
|
3
|
-
import { MODULE_NAME,DATA_MODEL_NAME } from "./../../../../const.js";
|
|
3
|
+
import { MODULE_NAME, DATA_MODEL_NAME } from "./../../../../const.js";
|
|
4
4
|
import notCommon from "not-bulma/src/frame/common";
|
|
5
5
|
|
|
6
6
|
const DEFAULT_BREADCRUMB_TAIL = `${MODULE_NAME}:action_import_from_json_title`;
|
|
@@ -115,9 +115,9 @@ class ncaImportFromJSON extends CRUDGenericActionCreate {
|
|
|
115
115
|
try {
|
|
116
116
|
ncaImportFromJSON.setUILoading(controller);
|
|
117
117
|
const res = await controller
|
|
118
|
-
.getModel(DATA_MODEL_NAME, {
|
|
119
|
-
moduleName: controller.
|
|
120
|
-
options: jsonAsText
|
|
118
|
+
.getModel(DATA_MODEL_NAME, {
|
|
119
|
+
moduleName: controller.getModuleName(),
|
|
120
|
+
options: jsonAsText,
|
|
121
121
|
})
|
|
122
122
|
[`$${ncaImportFromJSON.MODEL_ACTION_PUT}`]();
|
|
123
123
|
if (this.isResponseBad(res)) {
|