Chip
parent
ef9d6d9f6c
commit
3d40acc26b
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue