@akanjs/store 0.0.146 → 0.0.148
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.
|
@@ -523,7 +523,6 @@ const makeActions = (gql) => {
|
|
|
523
523
|
[names.editModel]: async function(modelOrId, { modal, onError } = {}) {
|
|
524
524
|
const id = typeof modelOrId === "string" ? modelOrId : modelOrId.id;
|
|
525
525
|
this.set({ [names.modelFormLoading]: id, [names.modelModal]: modal ?? "edit" });
|
|
526
|
-
//! 이거 왜넣었지
|
|
527
526
|
const model = await gql[names.model](id, { onError });
|
|
528
527
|
const modelForm = (0, import_common.deepObjectify)(model);
|
|
529
528
|
this.set({
|
|
@@ -508,7 +508,6 @@ const makeActions = (gql) => {
|
|
|
508
508
|
[names.editModel]: async function(modelOrId, { modal, onError } = {}) {
|
|
509
509
|
const id = typeof modelOrId === "string" ? modelOrId : modelOrId.id;
|
|
510
510
|
this.set({ [names.modelFormLoading]: id, [names.modelModal]: modal ?? "edit" });
|
|
511
|
-
//! 이거 왜넣었지
|
|
512
511
|
const model = await gql[names.model](id, { onError });
|
|
513
512
|
const modelForm = deepObjectify(model);
|
|
514
513
|
this.set({
|