fix(frontend): get commit hash correctly
This commit is contained in:
parent
7477814c1b
commit
c2a3016265
|
@ -12,7 +12,7 @@
|
|||
|
||||
const versionParts = version.split("-");
|
||||
let commit = "[unknown]";
|
||||
if (versionParts.length >= 3) commit = versionParts[2];
|
||||
if (versionParts.length >= 3) commit = versionParts[2].slice(1);
|
||||
|
||||
const versionMismatch = data.git_commit !== commit && data.git_commit !== "[unknown]";
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue