@trops/dash-core 0.1.102 → 0.1.103
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/index.esm.js +9 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30726,9 +30726,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref) {
|
|
|
30726
30726
|
if (userProfile) {
|
|
30727
30727
|
setProfile(userProfile);
|
|
30728
30728
|
setAuthStatus("authenticated");
|
|
30729
|
-
|
|
30730
|
-
setAuthorName(userProfile.displayName);
|
|
30731
|
-
}
|
|
30729
|
+
setAuthorName(userProfile.displayName || userProfile.username || "");
|
|
30732
30730
|
} else {
|
|
30733
30731
|
// Token expired or invalid — treat as unauthenticated
|
|
30734
30732
|
setAuthStatus("unauthenticated");
|
|
@@ -31074,11 +31072,14 @@ var PublishDashboardModal = function PublishDashboardModal(_ref) {
|
|
|
31074
31072
|
children: [/*#__PURE__*/jsxRuntime.jsx("p", {
|
|
31075
31073
|
className: "text-sm opacity-70",
|
|
31076
31074
|
children: "Provide details about your dashboard for the registry listing."
|
|
31077
|
-
}), /*#__PURE__*/jsxRuntime.
|
|
31078
|
-
|
|
31079
|
-
|
|
31080
|
-
|
|
31081
|
-
|
|
31075
|
+
}), /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
31076
|
+
children: [/*#__PURE__*/jsxRuntime.jsx("label", {
|
|
31077
|
+
className: "block text-sm font-medium opacity-70 mb-1",
|
|
31078
|
+
children: "Author Name"
|
|
31079
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
31080
|
+
className: "px-3 py-2 rounded-lg bg-white/5 border border-white/10 text-sm opacity-80",
|
|
31081
|
+
children: authorName || "—"
|
|
31082
|
+
})]
|
|
31082
31083
|
}), /*#__PURE__*/jsxRuntime.jsx(DashReact.TextArea, {
|
|
31083
31084
|
label: "Description",
|
|
31084
31085
|
value: description,
|