Skip to content

Commit

Permalink
NAS-131112: Install App after setting pool up - warning confirm dialo…
Browse files Browse the repository at this point in the history
…g issue (#10657)
  • Loading branch information
undsoft authored Sep 11, 2024
1 parent 71ec665 commit ca123dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h3>{{ 'Available Resources' | translate }}</h3>
<ngx-skeleton-loader></ngx-skeleton-loader>
} @else {
@if (selectedPool()) {
{{ availableSpace() | ixFileSize }}
{{ availableSpace$ | async | ixFileSize }}
} @else {
{{ 'N/A' | translate }}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class AppResourcesCardComponent implements OnInit {
memoryUsed: number;
memoryTotal: number;

availableSpace = toSignal(this.ws.call('app.available_space'));
readonly availableSpace$ = this.ws.call('app.available_space');
selectedPool = toSignal(this.dockerStore.selectedPool$);

constructor(
Expand Down

0 comments on commit ca123dc

Please sign in to comment.