1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Desktop: remove branch name in detached head state (#4636)

This commit is contained in:
Helmut K. C. Tessarek
2021-03-11 09:39:18 -05:00
committed by GitHub
parent 6496172aed
commit 3e9cb1d4fd
2 changed files with 2 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ export default function versionInfo(packageInfo: any) {
let gitInfo = '';
if ('git' in p) {
gitInfo = _('Revision: %s (%s)', p.git.hash, p.git.branch);
if (p.git.branch === 'HEAD') gitInfo = gitInfo.slice(0, -7);
}
const copyrightText = 'Copyright © 2016-YYYY Laurent Cozic';
const now = new Date();