Skip to content

Commit

Permalink
fix(vm-filter): remove incorrect empty group name (closes bwsw#827) (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyRoach authored and Darya Baklanova committed Dec 28, 2017
1 parent 72aca25 commit ceb2fe2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/vm/container/vm.container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ export class VirtualMachinePageContainerComponent implements OnInit, AfterViewIn
name: (item: VirtualMachine) =>
item.instanceGroup ? item.instanceGroup.name : 'VM_PAGE.FILTERS.NO_GROUP'
},
{
key: 'accounts',
label: 'VM_PAGE.FILTERS.GROUP_BY_ACCOUNTS',
selector: (item: VirtualMachine) => item.account,
name: (item: VirtualMachine) => getGroupName(item)
},
{
key: 'colors',
label: 'VM_PAGE.FILTERS.GROUP_BY_COLORS',
selector: (item: VirtualMachine) => this.vmTagService.getColorSync(item).value,
name: (item: VirtualMachine) => ' ',
name: (item: VirtualMachine) => ''
},
{
key: 'accounts',
label: 'VM_PAGE.FILTERS.GROUP_BY_ACCOUNTS',
selector: (item: VirtualMachine) => item.account,
name: (item: VirtualMachine) => getGroupName(item),
}
];

public ngOnInit() {
Expand Down

0 comments on commit ceb2fe2

Please sign in to comment.