Skip to content

Commit

Permalink
fix(extension): correct property name of admin publish status (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
airslice authored Nov 14, 2024
1 parent 29761c9 commit e6face1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export const StatusBlock: React.FC<StatusBlockProps> = ({ dataset, ...props }) =
label: string;
} = useMemo(
() =>
dataset?.admin?.status === "alpha"
dataset?.admin?.stage === "alpha"
? { value: "alpha", label: "登録中" }
: dataset?.admin?.status === "beta"
: dataset?.admin?.stage === "beta"
? { value: "beta", label: "レビュー待ち" }
: { value: "published", label: "公開済" },
[dataset?.admin?.status],
[dataset?.admin?.stage],
);

const localCreatedAt = useMemo(
Expand Down

0 comments on commit e6face1

Please sign in to comment.