fixed some JS issues where event overview links did not work and all devices does is not visible
This commit is contained in:
parent
98c48e595f
commit
1d8b26998a
2 changed files with 4 additions and 2 deletions
|
|
@ -17,7 +17,9 @@ export default {
|
|||
<input type="hidden" name="action-id" :value="event.id">
|
||||
|
||||
<div class="btn-toolbar pull-right">
|
||||
<template v-if="event.dataType === 'ColorEventData'">
|
||||
<template v-if="event.dataType === null">
|
||||
</template>
|
||||
<template v-else-if="event.dataType === 'ColorEventData'">
|
||||
<input type="hidden" name="type" value="color">
|
||||
<input type="color" name="data" onchange="this.form.submit()" :value="event.data?.valueStr">
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ public class JavascriptModules implements HalJavascriptModule {
|
|||
|
||||
@Override
|
||||
public HalJsModule[] getJavascriptModules() {
|
||||
HalWebPage.getRootNav().createSubNav("Events").createSubNav("/event_overview", "Overview");
|
||||
HalWebPage.getRootNav().createSubNav("Events").createSubNav("event_overview", "Overview");
|
||||
|
||||
return new HalJsModule[] {
|
||||
new HalJsModule("AlertStore", "./js/vue/stores/AlertStore.js"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue