1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(stack): sync ee code to ce EE-5960 (#10642)

This commit is contained in:
cmeng 2023-11-23 09:17:12 +13:00 committed by GitHub
parent a4926e5237
commit 13d1fc63ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 87 additions and 7 deletions

View file

@ -59,6 +59,10 @@ export class StackViewModel implements IResource {
PreviousDeploymentInfo: unknown;
SupportRelativePath: boolean;
FilesystemPath: string;
constructor(stack: Stack, orphaned = false) {
this.Id = stack.Id;
this.Type = stack.Type;
@ -95,5 +99,8 @@ export class StackViewModel implements IResource {
this.External = false;
this.Orphaned = orphaned;
this.OrphanedRunning = false;
this.SupportRelativePath = stack.SupportRelativePath;
this.FilesystemPath = stack.FilesystemPath;
}
}