summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models/workspace
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/app/view-models/workspace')
-rw-r--r--catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts b/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
index 7a399d860a..959aead3ae 100644
--- a/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
+++ b/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
@@ -38,7 +38,9 @@ export class PluginsContextViewModel {
contextType: this.$scope.component.getComponentSubType(),
uuid: this.$scope.component.uuid,
lifecycleState: this.$scope.component.lifecycleState,
- isOwner: this.$scope.component.lastUpdaterUserId === this.$scope.user.userId
+ isOwner: this.$scope.component.lastUpdaterUserId === this.$scope.user.userId,
+ version: this.$scope.component.version ,
+ parentUrl: window.location.origin
};
}