@topvisor/ui 1.5.0-updates.7 → 1.5.0-updates.8
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/package.json +1 -1
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +13 -1
- package/project/project.js.map +1 -1
package/project/project.js
CHANGED
|
@@ -951,6 +951,12 @@ var Ve = ["innerHTML"], He = /* @__PURE__ */ k({
|
|
|
951
951
|
icon: "",
|
|
952
952
|
right: "1"
|
|
953
953
|
},
|
|
954
|
+
{
|
|
955
|
+
href: `https://${i}/project/ai-tracker/${n.id}/`,
|
|
956
|
+
title: r.Common.Menu_aiTracker,
|
|
957
|
+
icon: "",
|
|
958
|
+
right: "1"
|
|
959
|
+
},
|
|
954
960
|
{
|
|
955
961
|
href: `https://${i}/project/analytics/${n.id}/`,
|
|
956
962
|
title: r.Common.Menu_analytics,
|
|
@@ -993,7 +999,13 @@ var Ve = ["innerHTML"], He = /* @__PURE__ */ k({
|
|
|
993
999
|
icon: "",
|
|
994
1000
|
right: "2"
|
|
995
1001
|
}
|
|
996
|
-
], o = S(() =>
|
|
1002
|
+
], o = S(() => {
|
|
1003
|
+
if (!window.page?.data?.aiTracker) {
|
|
1004
|
+
let e = a.findIndex((e) => e.href.includes("ai-tracker"));
|
|
1005
|
+
e !== -1 && a.splice(e, 1);
|
|
1006
|
+
}
|
|
1007
|
+
return n.right.includes("0") ? a.filter((e) => n.right[e.right] === "1") : a;
|
|
1008
|
+
});
|
|
997
1009
|
return (e, n) => {
|
|
998
1010
|
let r = ce("TopButton");
|
|
999
1011
|
return M(), C(I(_), {
|