mirror of
https://github.com/azukaar/Cosmos-Server.git
synced 2025-12-19 02:51:06 -06:00
[release] v0.18.4
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
## Version 0.18.4
|
||||
- Fix issue with DB credentials dissapearing
|
||||
- Remove expired discount
|
||||
|
||||
## Version 0.18.3
|
||||
- Fix Cosmos not creating repository for internal config
|
||||
|
||||
|
||||
@@ -31,10 +31,7 @@ const SudoModal = () => {
|
||||
setLoading(true);
|
||||
await API.auth.sudo(values);
|
||||
|
||||
// if on /cosmos-ui/config-general refresh page because we need new infos
|
||||
if (window.location.pathname.includes('/cosmos-ui/config-general')) {
|
||||
window.location.reload();
|
||||
}
|
||||
window.location.reload();
|
||||
|
||||
setOpen(false);
|
||||
resetForm();
|
||||
|
||||
@@ -126,23 +126,24 @@ const PremiumSalesPage = ({salesKey, extra}) => {
|
||||
/>
|
||||
<CardContent>
|
||||
<Box textAlign="center" mb={2}>
|
||||
<Typography variant="h3" style={{ textDecoration: 'line-through', color: 'text.secondary' }}>
|
||||
<Typography variant="h3" color="primary">
|
||||
{/* <Typography variant="h3" style={{ textDecoration: 'line-through', color: 'text.secondary' }}> */}
|
||||
{currencyCode} {isYearly ? (yearlyPrice / 12).toFixed(2) : monthlyPrice.toFixed(2)}
|
||||
</Typography>
|
||||
<Typography variant="h3" color="primary">
|
||||
{/* <Typography variant="h3" color="primary">
|
||||
{currencyCode} {isYearly ? ((discountedYearlyPrice / 12).toFixed(2)) : discountedMonthlyPrice}
|
||||
</Typography>
|
||||
</Typography> */}
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
{t('mgmt.sales.per_month')}
|
||||
</Typography>
|
||||
<Chip
|
||||
{/* <Chip
|
||||
label={t('mgmt.sales.discount_chip')}
|
||||
color="secondary"
|
||||
sx={{ mt: 1 }}
|
||||
/>
|
||||
<Typography variant="body2" color="text.secondary" mt={1}>
|
||||
/> */}
|
||||
{/* <Typography variant="body2" color="text.secondary" mt={1}>
|
||||
{t('mgmt.sales.early_adopter_offer')}
|
||||
</Typography>
|
||||
</Typography> */}
|
||||
</Box>
|
||||
<List>
|
||||
{planFeatureKeys.map((key, index) => (
|
||||
@@ -175,23 +176,25 @@ const PremiumSalesPage = ({salesKey, extra}) => {
|
||||
/>
|
||||
<CardContent>
|
||||
<Box textAlign="center" mb={2}>
|
||||
<Typography variant="h3" style={{ textDecoration: 'line-through', color: 'text.secondary' }}>
|
||||
|
||||
<Typography variant="h3" color="primary">
|
||||
{/* <Typography variant="h3" style={{ textDecoration: 'line-through', color: 'text.secondary' }}> */}
|
||||
{currencyCode} {lifePrice.toFixed(2)}
|
||||
</Typography>
|
||||
<Typography variant="h3" color="primary">
|
||||
{/* <Typography variant="h3" color="primary">
|
||||
{currencyCode} {discountedLifePrice}
|
||||
</Typography>
|
||||
</Typography> */}
|
||||
<Typography variant="body2" color="text.secondary">
|
||||
-
|
||||
</Typography>
|
||||
<Chip
|
||||
{/* <Chip
|
||||
label={t('mgmt.sales.discount_chip')}
|
||||
color="secondary"
|
||||
sx={{ mt: 1 }}
|
||||
/>
|
||||
<Typography variant="body2" color="text.secondary" mt={1}>
|
||||
{t('mgmt.sales.early_adopter_offer2')}
|
||||
</Typography>
|
||||
</Typography> */}
|
||||
</Box>
|
||||
<List>
|
||||
{planFeatureKeys.map((key, index) => (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.18.3",
|
||||
"version": "0.18.4",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
<a href="https://github.com/phobes"><img src="https://avatars.githubusercontent.com/phobes" style="border-radius:48px" width="48" height="48" alt="Phobes" title="Phobes" /></a>
|
||||
<a href="https://github.com/AstroMando"><img src="https://avatars.githubusercontent.com/AstroMando" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
|
||||
<a href="https://github.com/AKAHackoon"><img src="https://avatars.githubusercontent.com/AKAHackoon" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
|
||||
<a href="https://github.com/jwr1"><img src="https://avatars.githubusercontent.com/jwr1" style="border-radius:48px" width="48" height="48" alt="jwr1" title="jwr1" /></a>
|
||||
<a href="https://github.com/jkri-ch"><img src="https://avatars.githubusercontent.com/jkri-ch" style="border-radius:48px" width="48" height="48" alt="John Richardson" title="John Richardson" /></a>
|
||||
</p><!-- /sponsors -->
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user