Skip to content

Commit

Permalink
NAS-127607: Fix out of sync docker config between tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
denysbutenko committed Oct 30, 2024
1 parent 7087766 commit e9dee19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/pages/apps/store/docker.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Job } from 'app/interfaces/job.interface';
import { DialogService } from 'app/modules/dialog/dialog.service';
import { ErrorHandlerService } from 'app/services/error-handler.service';
import { WebSocketService } from 'app/services/ws.service';
import { tapOnce } from 'app/helpers/operators/tap-once.operator';

export interface DockerConfigState {
isLoading: boolean;
Expand Down Expand Up @@ -145,7 +144,7 @@ export class DockerStore extends ComponentStore<DockerConfigState> {
.pipe(
filter((event) => event.fields.method === 'docker.update' && !!event.fields.result),
map((event) => event.fields.result),
tap((dockerConfig: DockerConfig) => this.patchState({ dockerConfig }))
)
tap((dockerConfig: DockerConfig) => this.patchState({ dockerConfig })),
);
}
}

0 comments on commit e9dee19

Please sign in to comment.