taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 5cab30306ad6e69abba5979beb08276891e4b22b
parent 11d8293c4e92109f0f1eeeb4717222b8435a797f
Author: Nullptrderef <nullptrderef@proton.me>
Date:   Sun, 21 Apr 2024 09:23:27 +0200

use git short hashes

Diffstat:
Mpackages/anastasis-webui/src/components/menu/SideBar.tsx | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/anastasis-webui/src/components/menu/SideBar.tsx b/packages/anastasis-webui/src/components/menu/SideBar.tsx @@ -29,7 +29,10 @@ interface Props { } const VERSION = typeof __VERSION__ !== "undefined" ? __VERSION__ : "dev"; -const GIT_HASH = typeof __GIT_HASH__ !== "undefined" ? __GIT_HASH__ : undefined; +const GIT_HASH = + typeof __GIT_HASH__ !== "undefined" + ? __GIT_HASH__.substring(0, 7) + : undefined; const VERSION_WITH_HASH = GIT_HASH ? `${VERSION}-${GIT_HASH}` : VERSION; export function Sidebar({ mobile }: Props): VNode {