fix
This commit is contained in:
parent
96dfe9f817
commit
d021d0a38f
2 changed files with 7 additions and 8 deletions
|
|
@ -20,13 +20,12 @@ export default function BillingTrial() {
|
||||||
</Alert>
|
</Alert>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{trialDaysLeft === 0 ||
|
{trialDaysLeft === 0 && (
|
||||||
(trialDaysLeft === null && !billing && (
|
|
||||||
<Alert title="Your Trial has ended" color="red" radius="md">
|
<Alert title="Your Trial has ended" color="red" radius="md">
|
||||||
Your 7-day trial has come to an end. Please subscribe to a plan to
|
Your 7-day trial has come to an end. Please subscribe to a plan to
|
||||||
continue using this service.
|
continue using this service.
|
||||||
</Alert>
|
</Alert>
|
||||||
))}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ export const useTrialEndAction = () => {
|
||||||
notifications.show({
|
notifications.show({
|
||||||
position: "top-right",
|
position: "top-right",
|
||||||
color: "red",
|
color: "red",
|
||||||
title: "Your 14-day trial has ended",
|
title: "Your 7-day trial has ended",
|
||||||
message:
|
message:
|
||||||
"Please upgrade to a paid plan or contact your workspace admin.",
|
"Please upgrade to a paid plan or contact your workspace admin.",
|
||||||
autoClose: false,
|
autoClose: false,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue