Skip to content

Commit

Permalink
NAS-131231 / 25.04 / if you enter an invalid AUTH key, tailscale goes…
Browse files Browse the repository at this point in the history
… into a tight restart loop (#10704)

* NAS-131231: if you enter an invalid AUTH key, tailscale goes into a tight restart loop

* NAS-131231: PR update
  • Loading branch information
AlexKarpov98 authored Sep 19, 2024
1 parent 4caf239 commit b6969a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
matTooltipPosition="above"
[ixTest]="[app().name, 'stop']"
[matTooltip]="'Stop' | translate"
[disabled]="inProgress()"
(click)="stop(); $event.stopPropagation()"
>
<ix-icon name="mdi-stop"></ix-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ export class InstalledAppsComponent implements OnInit, AfterViewInit {
.some((app) => app.upgrade_available);
}

get startedCheckedApps(): App[] {
get activeCheckedApps(): App[] {
return this.dataSource.filter(
(app) => app.state === AppState.Running && this.selection.isSelected(app.id),
(app) => [AppState.Running, AppState.Deploying].includes(app.state) && this.selection.isSelected(app.id),
);
}

get stoppedCheckedApps(): App[] {
return this.dataSource.filter(
(app) => app.state === AppState.Stopped && this.selection.isSelected(app.id),
(app) => [AppState.Stopped, AppState.Crashed].includes(app.state) && this.selection.isSelected(app.id),
);
}

Expand Down Expand Up @@ -351,7 +351,7 @@ export class InstalledAppsComponent implements OnInit, AfterViewInit {
}

onBulkStop(): void {
this.startedCheckedApps.forEach((app) => this.stop(app.name));
this.activeCheckedApps.forEach((app) => this.stop(app.name));
this.snackbar.success(this.translate.instant(helptextApps.bulkActions.finished));
this.toggleAppsChecked(false);
}
Expand Down

0 comments on commit b6969a5

Please sign in to comment.