feat(web): show the publish control on the object detail
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@ import { useTranslation } from "react-i18next";
|
||||
|
||||
import { useObject, useFieldDefinitions } from "../api/queries";
|
||||
import { DeleteObjectDialog } from "./delete-object-dialog";
|
||||
import { PublishControl } from "./publish-control";
|
||||
import { VisibilityBadge } from "./visibility-badge";
|
||||
import { Skeleton } from "@/components/ui/skeleton";
|
||||
|
||||
@@ -90,6 +91,7 @@ export function ObjectDetail() {
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
<PublishControl object={object} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user