Skip to content

Commit 08590c7

Browse files
author
Ioan Moldovan
authored
feat: added dev prefix (#5042)
1 parent 207443f commit 08590c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

extension/chrome/settings/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ View.run(
6969
}
7070

7171
public render = async () => {
72-
$('#status-row #status_version').text(`v:${VERSION}`);
72+
const isDevMode = !('update_url' in chrome.runtime.getManifest());
73+
$('#status-row #status_version').text(`v:${VERSION}${isDevMode ? '-dev' : ''}`);
7374
for (const webmailLName of await Env.webmails()) {
7475
$('.signin_button.' + webmailLName).css('display', 'inline-block');
7576
}

0 commit comments

Comments
 (0)