@neutron.co.id/operasional-modules 1.12.25 → 1.12.26

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.
@@ -509,11 +509,21 @@ export const SubmissionCollectionSupervisorView = ResourceUtil.createCollection(
509
509
  const { supervisedStaffIds } = useOperasionalStore();
510
510
  return Query.define({
511
511
  filter: [
512
- { handle: "followUpStaffIds", operator: "in", value: supervisedStaffIds },
512
+ {
513
+ handle: "followUpStaffIds",
514
+ operator: "in",
515
+ value: supervisedStaffIds
516
+ },
513
517
  {
514
518
  handle: "status",
515
519
  operator: "in",
516
- value: ["approved", "delay", "monitored", "discontinued", "resolved"]
520
+ value: [
521
+ "approved",
522
+ "delay",
523
+ "monitored",
524
+ "discontinued",
525
+ "resolved"
526
+ ]
517
527
  }
518
528
  ],
519
529
  sort: [{ handle: "createdAt", direction: "descending" }]
@@ -603,12 +613,7 @@ function getForDecisionActions() {
603
613
  return isNew.value || isChanged.value || values.value.status === "prepared" || values.value.status === "raised" || (values.value.agreedStaffIds?.includes(staff.value?.id || "") ?? false);
604
614
  });
605
615
  const goBack = () => {
606
- const referrer = document.referrer || "";
607
- if (referrer.includes("/neu-pengajuan")) {
608
- window.history.back();
609
- } else {
610
- window.location.reload();
611
- }
616
+ window.location.reload();
612
617
  };
613
618
  const syncDelay = async () => {
614
619
  await executeOne("delaySubmission", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-modules",
3
- "version": "1.12.25",
3
+ "version": "1.12.26",
4
4
  "description": "Modules of Neutron Operasional.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "contributors": [
@@ -85,5 +85,5 @@
85
85
  "publishConfig": {
86
86
  "access": "public"
87
87
  },
88
- "build": 123
88
+ "build": 124
89
89
  }