feat(ui): simplify A3 workspace and refresh saved AI availability
This commit is contained in:
@@ -42,6 +42,11 @@ export default function ProFeatureNotice({ featureKey, title, children }: Props)
|
||||
return (
|
||||
<Alert
|
||||
severity="info"
|
||||
sx={{
|
||||
display: "grid", gridTemplateColumns: "auto minmax(0, 1fr)",
|
||||
"& .MuiAlert-message": { gridColumn: 2, gridRow: 1, minWidth: 0, overflow: "visible", overflowWrap: "anywhere" },
|
||||
"& .MuiAlert-action": { gridColumn: 2, gridRow: 2, m: 0, p: 0, mt: 0.5, justifySelf: "start" },
|
||||
}}
|
||||
action={(
|
||||
<Stack direction="row" spacing={0.5} alignItems="center">
|
||||
<Button href="/settings" size="small">{aiUnavailable ? i18n?.t("aiUnavailableSettings") ?? "Review AI settings" : i18n?.t("proFeatureView") ?? "View Pro"}</Button>
|
||||
|
||||
Reference in New Issue
Block a user