@makoai/app-sdk 2.7.1 → 2.7.2
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/ui.js +3 -1
package/package.json
CHANGED
package/ui.js
CHANGED
|
@@ -347,7 +347,9 @@ export function FreshnessBadge({
|
|
|
347
347
|
const ref = React.useRef(null);
|
|
348
348
|
usePopover(open, setOpen, ref, align);
|
|
349
349
|
const t = normalizeTone(tone);
|
|
350
|
-
|
|
350
|
+
// A footer alone is not a panel: while the app is still checking, the
|
|
351
|
+
// badge must not open onto an empty box.
|
|
352
|
+
const hasPanel = title != null || schedule != null || sources.length > 0 || !!action;
|
|
351
353
|
|
|
352
354
|
return h(
|
|
353
355
|
"div",
|