| ... |
... |
@@ -4,12 +4,12 @@ |
| 4 |
4 |
class UnifiedSearch extends LitElement { |
| 5 |
5 |
static properties = { |
| 6 |
6 |
searchText: { type: String }, |
| 7 |
|
- favoritesFilter: { type: Boolean }, |
| 8 |
|
- administratorFilter: { type: Boolean }, |
| 9 |
|
- editorFilter: { type: Boolean }, |
| 10 |
|
- viewerFilter: { type: Boolean }, |
| 11 |
|
- publicFilter: { type: Boolean }, |
| 12 |
|
- privateFilter: { type: Boolean }, |
|
7 |
+ favoritesFilter: { type: boolean }, |
|
8 |
+ administratorFilter: { type: boolean }, |
|
9 |
+ editorFilter: { type: boolean }, |
|
10 |
+ viewerFilter: { type: boolean }, |
|
11 |
+ publicFilter: { type: boolean }, |
|
12 |
+ privateFilter: { type: boolean }, |
| 13 |
13 |
} |
| 14 |
14 |
constructor() { |
| 15 |
15 |
super(); |
| ... |
... |
@@ -34,7 +34,7 @@ |
| 34 |
34 |
<input @change="${this.setSearchText}" type="text" placeholder="Search..." /> |
| 35 |
35 |
<button @click="${this.handleSearch}">Search</button> |
| 36 |
36 |
</div> |
| 37 |
|
- <label><input type="checkbox" @change="${(e) => { this.administratorFilter = e.target.checked }}" .checked="${this.administratorFilter}"/> Administrator</label> |
|
37 |
+ <label><input type="checkbox" /> Administrator</label> |
| 38 |
38 |
</div> |
| 39 |
39 |
` |
| 40 |
40 |
} |