Introduced separate sync version (previously DB version was used to check sync compatibility), closes #120

This commit is contained in:
azivner
2018-06-10 15:55:29 -04:00
parent 14c704d6db
commit d67246699a
5 changed files with 12 additions and 6 deletions

View File

@@ -173,6 +173,7 @@ addTabHandler((function () {
addTabHandler((async function () {
const $appVersion = $("#app-version");
const $dbVersion = $("#db-version");
const $syncVersion = $("#sync-version");
const $buildDate = $("#build-date");
const $buildRevision = $("#build-revision");
@@ -180,6 +181,7 @@ addTabHandler((async function () {
$appVersion.html(appInfo.appVersion);
$dbVersion.html(appInfo.dbVersion);
$syncVersion.html(appInfo.syncVersion);
$buildDate.html(appInfo.buildDate);
$buildRevision.html(appInfo.buildRevision);
$buildRevision.attr('href', 'https://github.com/zadam/trilium/commit/' + appInfo.buildRevision);