This commit is contained in:
binwiederhier 2023-02-22 09:25:56 -05:00
parent ef9d6d9f6c
commit 3d40acc26b
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
// During web development, you may change values here for rapid testing.
var config = {
base_url: window.location.origin, // Set this to "https://127.0.0.1" to test against a different server
base_url: "https://127.0.0.1", // to test against a different server
app_root: "/app",
enable_login: true,
enable_signup: true,

View File

@ -145,7 +145,7 @@ const UpgradeDialog = (props) => {
onChange={(ev) => setInterval(ev.target.checked ? SubscriptionInterval.YEAR : SubscriptionInterval.MONTH)}
/>
<Typography component="span" variant="subtitle1">{t("account_upgrade_dialog_interval_yearly")}</Typography>
{discount > 0 && <Chip label={`-${discount}%`} color="primary" size="small" sx={{ marginLeft: "5px" }}/>}
{discount > 0 && <Chip label={`-${discount}%`} color="primary" size="small" variant={interval === SubscriptionInterval.YEAR ? "filled" : "outlined"} sx={{ marginLeft: "5px" }}/>}
</div>
</div>
</DialogTitle>