@iankibetsh/shframework 2.0.1 → 2.0.2
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/library.js +3 -2
- package/dist/library.mjs +3 -2
- package/package.json +1 -1
package/dist/library.js
CHANGED
|
@@ -6038,7 +6038,7 @@ vue.ref([]);
|
|
|
6038
6038
|
let reload = vue.ref(0);
|
|
6039
6039
|
|
|
6040
6040
|
function departmentAdded (response) {
|
|
6041
|
-
shRepo.showToast('Department
|
|
6041
|
+
shRepo.showToast('Department saved');
|
|
6042
6042
|
reload.value += 1;
|
|
6043
6043
|
}
|
|
6044
6044
|
|
|
@@ -6066,6 +6066,7 @@ return (_ctx, _cache) => {
|
|
|
6066
6066
|
vue.createTextVNode(" ADD DEPARTMENT")
|
|
6067
6067
|
], 512 /* NEED_PATCH */),
|
|
6068
6068
|
vue.createVNode(script$c, {
|
|
6069
|
+
reload: vue.unref(reload),
|
|
6069
6070
|
headers: ['id','name','description', 'created_at'],
|
|
6070
6071
|
"end-point": "sh-departments/list",
|
|
6071
6072
|
actions: {
|
|
@@ -6083,7 +6084,7 @@ return (_ctx, _cache) => {
|
|
|
6083
6084
|
}
|
|
6084
6085
|
]
|
|
6085
6086
|
}
|
|
6086
|
-
}, null, 8 /* PROPS */, ["actions"]),
|
|
6087
|
+
}, null, 8 /* PROPS */, ["reload", "actions"]),
|
|
6087
6088
|
vue.createVNode(script$j, {
|
|
6088
6089
|
"modal-id": "sh_department_modal",
|
|
6089
6090
|
"modal-title": "Department Form"
|
package/dist/library.mjs
CHANGED
|
@@ -6026,7 +6026,7 @@ ref([]);
|
|
|
6026
6026
|
let reload = ref(0);
|
|
6027
6027
|
|
|
6028
6028
|
function departmentAdded (response) {
|
|
6029
|
-
shRepo.showToast('Department
|
|
6029
|
+
shRepo.showToast('Department saved');
|
|
6030
6030
|
reload.value += 1;
|
|
6031
6031
|
}
|
|
6032
6032
|
|
|
@@ -6054,6 +6054,7 @@ return (_ctx, _cache) => {
|
|
|
6054
6054
|
createTextVNode(" ADD DEPARTMENT")
|
|
6055
6055
|
], 512 /* NEED_PATCH */),
|
|
6056
6056
|
createVNode(script$c, {
|
|
6057
|
+
reload: unref(reload),
|
|
6057
6058
|
headers: ['id','name','description', 'created_at'],
|
|
6058
6059
|
"end-point": "sh-departments/list",
|
|
6059
6060
|
actions: {
|
|
@@ -6071,7 +6072,7 @@ return (_ctx, _cache) => {
|
|
|
6071
6072
|
}
|
|
6072
6073
|
]
|
|
6073
6074
|
}
|
|
6074
|
-
}, null, 8 /* PROPS */, ["actions"]),
|
|
6075
|
+
}, null, 8 /* PROPS */, ["reload", "actions"]),
|
|
6075
6076
|
createVNode(script$j, {
|
|
6076
6077
|
"modal-id": "sh_department_modal",
|
|
6077
6078
|
"modal-title": "Department Form"
|