Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Fix link to chrome web store and firefox addon store; Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixSchuSi committed Oct 3, 2021
1 parent 48781a5 commit 2fdd02e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "better-kickbase",
"version": "2.1.4",
"version": "2.1.5",
"description": "Sei ein effizienterer Manager mit 'better-kickbase'",
"main": "index.js",
"scripts": {
Expand Down
22 changes: 12 additions & 10 deletions src/options_ui/settings.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,25 +147,28 @@ const SettingsPage: FunctionComponent = () => {
</Typography>
</CardContent>
<CardActions className={css.ratingCardActions}>
<Button href="https://chrome.google.com/webstore/detail/better-kickbase/jdkehjokegcepbmbmcbaojnpkmnolgkg/reviews">
<Button
target="_blank"
href="https://chrome.google.com/webstore/detail/better-kickbase/jdkehjokegcepbmbmcbaojnpkmnolgkg/reviews"
>
<Typography component="legend">Chrome</Typography>
<StyledRating
className={css.rating}
value={4}
onChange={() => {
window.location.href =
'https://chrome.google.com/webstore/detail/better-kickbase/jdkehjokegcepbmbmcbaojnpkmnolgkg/reviews';
}}
onChange={() =>
window.open(
'https://chrome.google.com/webstore/detail/better-kickbase/jdkehjokegcepbmbmcbaojnpkmnolgkg/reviews',
'_blank'
)
}
/>
</Button>
<Button href="https://addons.mozilla.org/de/firefox/addon/better-kickbase/">
<Button target="_blank" href="https://addons.mozilla.org/de/firefox/addon/better-kickbase/">
<Typography component="legend">Firefox</Typography>
<StyledRating
className={css.rating}
value={4}
onChange={() => {
window.location.href = 'https://addons.mozilla.org/de/firefox/addon/better-kickbase/';
}}
onChange={() => window.open('https://addons.mozilla.org/de/firefox/addon/better-kickbase/', '_blank')}
/>
</Button>
</CardActions>
Expand All @@ -185,7 +188,6 @@ const SettingsPage: FunctionComponent = () => {
<IconButton size="small" aria-label="close" color="inherit" onClick={hideSnackbar}>
<CloseIcon fontSize="small" />
</IconButton>
;
</>
}
/>
Expand Down

0 comments on commit 2fdd02e

Please sign in to comment.