mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Display currently installed version in editor-ui
This commit is contained in:
@@ -255,6 +255,7 @@ export interface IN8nUISettings {
|
||||
saveManualExecutions: boolean;
|
||||
timezone: string;
|
||||
urlBaseWebhook: string;
|
||||
versionCli: string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import {
|
||||
import * as bodyParser from 'body-parser';
|
||||
import * as history from 'connect-history-api-fallback';
|
||||
import * as requestPromise from 'request-promise-native';
|
||||
import { version as versionCli } from '../package.json';
|
||||
|
||||
import {
|
||||
ActiveExecutions,
|
||||
@@ -73,6 +74,7 @@ import * as config from '../config';
|
||||
// @ts-ignore
|
||||
import * as timezones from 'google-timezones-json';
|
||||
import * as parseUrl from 'parseurl';
|
||||
import { version } from '@oclif/command/lib/flags';
|
||||
|
||||
|
||||
class App {
|
||||
@@ -989,6 +991,7 @@ class App {
|
||||
saveManualExecutions: this.saveManualExecutions,
|
||||
timezone: this.timezone,
|
||||
urlBaseWebhook: WebhookHelpers.getWebhookBaseUrl(),
|
||||
versionCli,
|
||||
};
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user