shared-ritm 1.2.93 → 1.2.94
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/shared-ritm.es.js
CHANGED
|
@@ -8124,12 +8124,12 @@ const jw = /* @__PURE__ */ Pe($w, [["render", Uw]]), Gw = /* @__PURE__ */ Pt({
|
|
|
8124
8124
|
},
|
|
8125
8125
|
emits: ["clickSettingsMenuItem", "clickNotification", "clickProfile"],
|
|
8126
8126
|
setup(e, { emit: n }) {
|
|
8127
|
-
const t = n, r = e, o = Y(null), a = Y(!1), i = k(
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
}
|
|
8132
|
-
), s = k(() => {
|
|
8127
|
+
const t = n, r = e, o = Y(null), a = Y(!1), i = k(() => {
|
|
8128
|
+
var v;
|
|
8129
|
+
if (!((v = r.userData) != null && v.full_name)) return "";
|
|
8130
|
+
const [d, f, h] = r.userData.full_name.split(" "), p = `${d} ${f}`;
|
|
8131
|
+
return h ? `${p} ${h[0]}.` : p;
|
|
8132
|
+
}), s = k(() => {
|
|
8133
8133
|
var d, f, h;
|
|
8134
8134
|
return (h = (f = (d = r.userData) == null ? void 0 : d.positions) == null ? void 0 : f[0]) == null ? void 0 : h.display_name;
|
|
8135
8135
|
}), u = () => a.value = !a.value, l = () => t("clickProfile"), c = (d) => t("clickSettingsMenuItem", d.name);
|