Skip to content

Commit

Permalink
Update App.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hoothin committed Oct 31, 2023
1 parent df6e38b commit 7926445
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,15 @@ export default function App() {
</ListItemAvatar>
<ListItemText
primary={window.i18n('name')}
secondary={"Ver " + (window.version || "1.0")}
secondary={window.version ? ("Ver " + window.version) : "Not installed"}
sx={{cursor: 'pointer'}}
onClick={e => {inited && window.version !== version && window.open("https://greasyfork.org/scripts/445274-searchjumper/code/SearchJumper.user.js")}}
secondaryTypographyProps={inited && window.version !== version ? {
sx:{color: 'red'},
title:window.i18n('outOfDate')
} : {}}/>
} : (!inited ? {
sx:{color: 'red'}
} : {})}/>
</ListItem>
<Divider component="li" variant="inset" sx={{marginRight: 3}}/>
<ListItem sx={{flexFlow: 'column'}}>
Expand Down

0 comments on commit 7926445

Please sign in to comment.