Skip to content

Commit d0b1c79

Browse files
authored
Merge pull request #7 from SoCreate/master
merge
2 parents ece882d + 7dfc5e2 commit d0b1c79

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/app/app.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,6 @@ export class AppComponent {
239239

240240
private filterSandboxes(sandboxMenuItems: SandboxMenuItem[], filter: string) {
241241
if (!filter) {
242-
return [];
243-
}
244-
245-
if (filter === '*') {
246242
return sandboxMenuItems.map((item, i) => Object.assign({}, item, { tabIndex: i }));
247243
}
248244

src/app/shared/state.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ export class StateService {
1414
}
1515

1616
getFilter() {
17-
// Asterisk to list all results by default
18-
return this.filter ? this.filter : '*';
17+
return this.filter;
1918
}
2019

2120
setFilter(value: string) {

0 commit comments

Comments
 (0)