forked from DebaucheryLibrarian/traxxx
Added AND/OR toggle to alerts.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<template>
|
||||
<router-link
|
||||
<RouterLink
|
||||
:to="`/${entity.type}/${entity.slug}`"
|
||||
:title="entity.name"
|
||||
:target="target"
|
||||
class="tile"
|
||||
>
|
||||
<div class="tile-logo">
|
||||
@@ -47,7 +48,7 @@
|
||||
<span v-if="typeof entity.sceneTotal !== 'undefined'">{{ entity.sceneTotal }} scenes</span>
|
||||
<span v-if="entity.type === 'network'">{{ entity.childrenTotal }} channels</span>
|
||||
</span>
|
||||
</router-link>
|
||||
</RouterLink>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -57,6 +58,10 @@ export default {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
target: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
emits: ['load'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user