diff --git a/src/webportal/src/app/layout/layout.component.ejs b/src/webportal/src/app/layout/layout.component.ejs index 866173646a..cbd3f8e5ea 100644 --- a/src/webportal/src/app/layout/layout.component.ejs +++ b/src/webportal/src/app/layout/layout.component.ejs @@ -137,6 +137,7 @@
+ diff --git a/src/webportal/src/app/plugin/plugin.component.js b/src/webportal/src/app/plugin/plugin.component.js index 778ea45a80..dbb700097e 100644 --- a/src/webportal/src/app/plugin/plugin.component.js +++ b/src/webportal/src/app/plugin/plugin.component.js @@ -46,7 +46,8 @@ $(document).ready(function() { loadScript(plugin.uri, function() { const $plugin = $('') - .attr('pai-rest-server-uri', window.ENV.restServerUri); + .attr('pai-rest-server-uri', window.ENV.restServerUri) + .attr('pai-version', window.PAI_VERSION); if (cookies.get('token')) { $plugin.attr('pai-user', cookies.get('user')) .attr('pai-rest-server-token', cookies.get('token'));