Implement faults page
This commit is contained in:
1 parent
b24c3626ac
commit
3cfac28fb1
16 files changed
+643
-246
No files matched your search
@@ -2,16 +2,14 @@
|
||||
|
||||
import m from "mithril";
|
||||
|
||||
import * as config from "./config";
|
||||
import * as filterParser from "../common/filter-parser";
|
||||
|
||||
const component = {
|
||||
view: vnode => {
|
||||
const predefined = vnode.attrs.predefined || [];
|
||||
let a = m(
|
||||
"datalist#filters",
|
||||
Object.values(config.get("ui.filters")).map(f =>
|
||||
m("option", { value: `${f.parameter} = ` })
|
||||
)
|
||||
predefined.map(f => m("option", { value: `${f.parameter} = ` }))
|
||||
);
|
||||
|
||||
if (vnode.attrs.filter !== vnode.state.filter) {
|
||||
|
||||
Reference in new issue
Block a user