mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add commit sha to version information
This commit is contained in:
parent
f2e6153541
commit
8961a19154
5 changed files with 23 additions and 2 deletions
|
@ -208,7 +208,12 @@ function refreshActiveRecordings(view, apiClient) {
|
|||
|
||||
function reloadSystemInfo(view, apiClient) {
|
||||
view.querySelector('#buildVersion').innerText = __JF_BUILD_VERSION__;
|
||||
view.querySelector('#webVersion').innerText = __PACKAGE_JSON_VERSION__;
|
||||
|
||||
let webVersion = __PACKAGE_JSON_VERSION__;
|
||||
if (__COMMIT_SHA__) {
|
||||
webVersion += ` (${__COMMIT_SHA__})`;
|
||||
}
|
||||
view.querySelector('#webVersion').innerText = webVersion;
|
||||
|
||||
queryClient
|
||||
.fetchQuery(getSystemInfoQuery(toApi(apiClient)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue