oceanhelm 0.0.16 → 0.0.18

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.
@@ -315,8 +315,8 @@ const pe = {
315
315
  this.$emit("date-change", s);
316
316
  },
317
317
  grantAccess(s) {
318
- const { role: e, vessel: c, categories: l = [] } = this.userProfile;
319
- return this.userRole = l.includes("marine-staff") ? "marine-staff" : "staff", e === "owner" || e === "marine-staff" || e === "captain" && c === s.name;
318
+ const { role: e, vessel: c, categories: l = [] } = this.userProfile, n = l.includes("marine-staff");
319
+ return e === "owner" || n || e === "captain" && c === s.name;
320
320
  },
321
321
  getDaysToExpiry(s) {
322
322
  if (!s)
@@ -5620,7 +5620,7 @@ const Iu = /* @__PURE__ */ O(od, [["render", Pu]]), qu = (s = {}) => ({
5620
5620
  type: "button",
5621
5621
  label: "Vessel Log",
5622
5622
  icon: "bi bi-file-ruled",
5623
- action: "coming-soon",
5623
+ action: "vessel-log",
5624
5624
  roles: ["owner", "staff", "captain"],
5625
5625
  categories: ["marine-staff"]
5626
5626
  },