[Fix] allow to clear log search, add exact severity checkbox
This commit is contained in:
parent
5156c93c5f
commit
91606f090e
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-inspector",
|
||||
"description": "Strolch WebComponent Inspector",
|
||||
"version": "0.11.3",
|
||||
"version": "0.11.4",
|
||||
"authors": ["Robert von Burg"],
|
||||
"keywords": [
|
||||
"strolch",
|
||||
|
|
|
@ -121,6 +121,7 @@
|
|||
|
||||
</paper-listbox>
|
||||
</paper-dropdown-menu>
|
||||
<paper-checkbox checked="{{exactSeverity}}">Exact</paper-checkbox>
|
||||
</div>
|
||||
|
||||
<div class="g-3 g-pl-2">
|
||||
|
@ -263,6 +264,10 @@
|
|||
type: String,
|
||||
observer: 'severityChanged'
|
||||
},
|
||||
exactSeverity: {
|
||||
type: Boolean,
|
||||
observer: 'severityChanged'
|
||||
},
|
||||
|
||||
exception: {
|
||||
type: String,
|
||||
|
@ -414,6 +419,10 @@
|
|||
this.reloadRealms();
|
||||
},
|
||||
|
||||
onClearTapped: function () {
|
||||
this.searchTerm = '';
|
||||
},
|
||||
|
||||
reloadOperationsLog: function () {
|
||||
if (this.realms == null) {
|
||||
return;
|
||||
|
@ -430,6 +439,7 @@
|
|||
this.$.ajax.method = 'GET';
|
||||
this.$.ajax.params = {
|
||||
severity: this.selectedSeverity ? this.selectedSeverity : null,
|
||||
exactSeverity: this.exactSeverity,
|
||||
from: this.from,
|
||||
to: this.to,
|
||||
query: this.searchTerm,
|
||||
|
|
Loading…
Reference in New Issue