Revert "Add connected user when updating gear"

This reverts commit 76ef368700.
This commit is contained in:
2026-05-05 23:18:03 +02:00
parent 76ef368700
commit b951c947dd
10 changed files with 1981 additions and 1934 deletions
@@ -6,14 +6,12 @@ import { TranslateModule, TranslateService } from "@ngx-translate/core";
import { MatProgressSpinnerModule } from "@angular/material/progress-spinner";
import { MatButtonModule } from "@angular/material/button";
import { MatIconModule } from "@angular/material/icon";
import { GearService } from "../../services/gear.service";
import { ServiceComm } from "../../services/service-comm.service";
import { GearResp } from "../../models/gear";
import { AddAction } from "../../models/add-action.enum";
import { NewGearComponent } from "../new-gear/new-gear.component";
import { GearInfosComponent } from "../gear-infos/gear-infos.component";
@Component({
selector: "app-list-of-gears",
@@ -25,7 +23,6 @@ import { GearInfosComponent } from "../gear-infos/gear-infos.component";
MatProgressSpinnerModule,
MatTableModule,
MatButtonModule,
MatIconModule,
],
})
export class ListOfGearsComponent implements OnInit {
@@ -37,7 +34,6 @@ export class ListOfGearsComponent implements OnInit {
"mainCanopy",
"reserveCanopy",
"equipment",
"actions",
];
public dataSourceTable: MatTableDataSource<GearResp>;
public resultsLength = 0;
@@ -85,14 +81,6 @@ export class ListOfGearsComponent implements OnInit {
});
}
openDialog(item: GearResp, editMode: boolean) {
this.dialog.open(GearInfosComponent, {
data: { gear: item, editMode: editMode },
maxHeight: "400px",
minWidth: "350px",
});
}
private updateTitle() {
this.translateService.get("ListGears_Title").subscribe((data) => {
this.serviceComm.updatedComponentTitle(data);