@kosdev-code/kos-ui-sdk 0.1.0-dev.5639 → 0.1.0-dev.5644
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -13051,13 +13051,13 @@ fn.addRelatedModel(Mr);
|
|
|
13051
13051
|
fn.addRelatedModel(Bo);
|
|
13052
13052
|
fn.addRelatedModel(Ar);
|
|
13053
13053
|
const Jy = (t) => t.rank !== void 0, eb = (t) => t.visibleRole !== void 0, tb = (t) => t.color !== void 0, sb = (t) => {
|
|
13054
|
-
const e = t.info;
|
|
13054
|
+
const e = t.info ?? {};
|
|
13055
13055
|
return Jy(e) ? e.rank : 0;
|
|
13056
13056
|
}, rb = (t) => {
|
|
13057
|
-
const e = t.info;
|
|
13057
|
+
const e = t.info ?? {};
|
|
13058
13058
|
return tb(e) ? e.color : "orange";
|
|
13059
13059
|
}, nb = (t) => {
|
|
13060
|
-
const e = t.info;
|
|
13060
|
+
const e = t.info ?? {};
|
|
13061
13061
|
return eb(e) ? e.visibleRole : "TECHNICIAN";
|
|
13062
13062
|
}, { URL: pn } = we(), { getAll: ob, postModel: ul } = pe.build({
|
|
13063
13063
|
basePath: `${pn}/api/kos/troubles`
|