[NIFI-5295] display fds version in demo app
This closes #29
diff --git a/package.json b/package.json
index 085acad..f51f300 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
"//": "See the License for the specific language governing permissions and",
"//": "limitations under the License.",
"name": "nifi-fds",
- "version": "0.1.0",
+ "version": "0.2.0-SNAPSHOT",
"scripts": {
"start": "./node_modules/http-server/bin/http-server --gzip -p 28080 .",
"build:webapp:bundle:development": "npm run webpack:development",
diff --git a/webapp/services/fds.service.js b/webapp/services/fds.service.js
index b07dc5a..3dfc39b 100644
--- a/webapp/services/fds.service.js
+++ b/webapp/services/fds.service.js
@@ -18,6 +18,7 @@
import { TdDataTableService } from '@covalent/core/bundles/covalent-core.umd.min.js';
import { FdsDialogService } from '@flow-design-system/dialogs';
import { FdsSnackBarService } from '@flow-design-system/snackbars';
+import {version} from '../../package.json';
/**
* FdsService constructor.
@@ -34,7 +35,7 @@
this.dataTableService = tdDataTableService;
// General
- this.title = 'Apache NiFi Flow Design System Demo';
+ this.title = 'Apache NiFi Flow Design System Demo v' + version;
this.inProgress = true;
this.perspective = '';
}