mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-22 14:22:21 +00:00
group detail, members none case-sensitive sorted a to z
This commit is contained in:
parent
fb7845bbce
commit
b8b7e4d151
@ -27,7 +27,9 @@
|
|||||||
<mat-divider [vertical]="true"></mat-divider>
|
<mat-divider [vertical]="true"></mat-divider>
|
||||||
<div class="members">
|
<div class="members">
|
||||||
<div>
|
<div>
|
||||||
<div class="title"> Members:</div>
|
<div class="title">
|
||||||
|
<div>Members: </div>
|
||||||
|
</div>
|
||||||
<mat-icon (click)="openAddUserDialog()" class="clickable">person_add</mat-icon>
|
<mat-icon (click)="openAddUserDialog()" class="clickable">person_add</mat-icon>
|
||||||
</div>
|
</div>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
|
@ -49,7 +49,7 @@ export class GroupDetailsComponent implements OnInit {
|
|||||||
|
|
||||||
this.server = d.group.server;
|
this.server = d.group.server;
|
||||||
this.group = d.group.group;
|
this.group = d.group.group;
|
||||||
this.members = d.group.users;
|
this.members = d.group.users.sort((a: User, b: User) => a.username.toLowerCase().localeCompare(b.username.toLowerCase()));
|
||||||
this.editGroupForm.setValue({groupname: this.group.name});
|
this.editGroupForm.setValue({groupname: this.group.name});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Software Name : GNS3 Web UI
|
||||||
|
* Version: 3
|
||||||
|
* SPDX-FileCopyrightText: Copyright (c) 2022 Orange Business Services
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*
|
||||||
|
* This software is distributed under the GPL-3.0 or any later version,
|
||||||
|
* the text of which is available at https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
* or see the "LICENSE" file for more details.
|
||||||
|
*
|
||||||
|
* Author: Sylvain MATHIEU, Elise LEBEAU
|
||||||
|
*/
|
||||||
import {Pipe, PipeTransform} from '@angular/core';
|
import {Pipe, PipeTransform} from '@angular/core';
|
||||||
import {User} from "@models/users/user";
|
import {User} from "@models/users/user";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user