Preset's query as devices url
Make the preset's query to hold it's devices url.
This commit is contained in:
1 parent
a4a1e722aa
commit
14e0e95da5
1 file changed
+7
-5
@@ -67,8 +67,7 @@ function renderTable(
|
|||||||
"Events",
|
"Events",
|
||||||
"Precondition",
|
"Precondition",
|
||||||
"Provision",
|
"Provision",
|
||||||
"Arguments",
|
"Arguments"
|
||||||
""
|
|
||||||
].map(l => m("th", l));
|
].map(l => m("th", l));
|
||||||
|
|
||||||
let rows = [];
|
let rows = [];
|
||||||
@@ -111,10 +110,13 @@ function renderTable(
|
|||||||
m("td", preset["weight"]),
|
m("td", preset["weight"]),
|
||||||
m("td", preset["schedule"]),
|
m("td", preset["schedule"]),
|
||||||
m("td", preset["events"]),
|
m("td", preset["events"]),
|
||||||
m("td", { title: preset["precondition"] }, preset["precondition"]),
|
m(
|
||||||
|
"td",
|
||||||
|
{ title: preset["precondition"] },
|
||||||
|
m("a", { href: devicesUrl }, preset["precondition"])
|
||||||
|
),
|
||||||
m("td", preset["provision"]),
|
m("td", preset["provision"]),
|
||||||
m("td", preset["provision_args"]),
|
m("td", preset["provision_args"])
|
||||||
m("td", m("a", { href: devicesUrl }, "Devices"))
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user