{
setAttachUrl("");
@@ -510,6 +562,8 @@ const PublishDialog = (props) => {
{!showClickUrl && setShowClickUrl(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
{!showEmail && setShowEmail(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
+ {!showSms && setShowSms(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
+ {!showCall && setShowCall(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
{!showAttachUrl && !showAttachFile && setShowAttachUrl(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
{!showAttachFile && !showAttachUrl && handleAttachFileClick()} sx={{marginRight: 1, marginBottom: 1}}/>}
{!showDelay && setShowDelay(true)} sx={{marginRight: 1, marginBottom: 1}}/>}
diff --git a/web/src/components/SubscriptionPopup.js b/web/src/components/SubscriptionPopup.js
index 7655605..024b6f2 100644
--- a/web/src/components/SubscriptionPopup.js
+++ b/web/src/components/SubscriptionPopup.js
@@ -277,14 +277,14 @@ const LimitReachedChip = () => {
);
};
-const ProChip = () => {
+export const ProChip = () => {
const { t } = useTranslation();
return (
);
};
diff --git a/web/src/components/UpgradeDialog.js b/web/src/components/UpgradeDialog.js
index c62560a..c4d665e 100644
--- a/web/src/components/UpgradeDialog.js
+++ b/web/src/components/UpgradeDialog.js
@@ -298,11 +298,14 @@ const TierCard = (props) => {
{tier.limits.reservations > 0 && {t("account_upgrade_dialog_tier_features_reservations", { reservations: tier.limits.reservations, count: tier.limits.reservations })}}
- {tier.limits.reservations === 0 && {t("account_upgrade_dialog_tier_features_no_reservations")}}
{t("account_upgrade_dialog_tier_features_messages", { messages: formatNumber(tier.limits.messages), count: tier.limits.messages })}
{t("account_upgrade_dialog_tier_features_emails", { emails: formatNumber(tier.limits.emails), count: tier.limits.emails })}
+ {tier.limits.sms > 0 && {t("account_upgrade_dialog_tier_features_sms", { sms: formatNumber(tier.limits.sms), count: tier.limits.sms })}}
+ {tier.limits.calls > 0 && {t("account_upgrade_dialog_tier_features_calls", { calls: formatNumber(tier.limits.calls), count: tier.limits.calls })}}
{t("account_upgrade_dialog_tier_features_attachment_file_size", { filesize: formatBytes(tier.limits.attachment_file_size, 0) })}
- {t("account_upgrade_dialog_tier_features_attachment_total_size", { totalsize: formatBytes(tier.limits.attachment_total_size, 0) })}
+ {tier.limits.reservations === 0 && {t("account_upgrade_dialog_tier_features_no_reservations")}}
+ {tier.limits.sms === 0 && {t("account_upgrade_dialog_tier_features_no_sms")}}
+ {tier.limits.calls === 0 && {t("account_upgrade_dialog_tier_features_no_calls")}}
{tier.prices && props.interval === SubscriptionInterval.MONTH &&