[release] v0.18.4

This commit is contained in:
Yann Stepienik
2025-04-05 20:03:20 +01:00
parent 2d0386945c
commit f181788dfa
5 changed files with 21 additions and 19 deletions

View File

@@ -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

View File

@@ -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();

View File

@@ -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) => (

View File

@@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.18.3",
"version": "0.18.4",
"description": "",
"main": "test-server.js",
"bugs": {

View File

@@ -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 -->
---