Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: remove duplicate create action from populated author and artist panes (#11006)

Adam Eivyac19646be1c2
diff --git a/client/src/components/persona/PersonaMasterDetail.jsx b/client/src/components/persona/PersonaMasterDetail.jsx
index c6a5c98d99..83863877ce 100644
--- a/client/src/components/persona/PersonaMasterDetail.jsx
+++ b/client/src/components/persona/PersonaMasterDetail.jsx
@@ -223,8 +223,14 @@ export default function PersonaMasterDetail({
</div>
) : !isCreate && !selected ? (
<div className="text-gray-500 text-sm">
- <p>Select a {singular.toLowerCase()} to edit, or create a new one.</p>
- <CreateButton singular={singular} onClick={() => navigate(`${basePath}/new`)} />
+ {records.length === 0 ? (
+ <>
+ <p>Create your first {singular.toLowerCase()} to get started.</p>
+ <CreateButton singular={singular} onClick={() => navigate(`${basePath}/new`)} />
+ </>
+ ) : (
+ <p>Select {/^[aeiou]/i.test(singular) ? 'an' : 'a'} {singular.toLowerCase()} from the list to view details, or click New {singular} above.</p>
+ )}
</div>
) : (
<div className="space-y-3">