Files
scrypted/plugins/core/ui/src/components/AggregateComponent.vue
2022-11-26 12:01:51 -08:00

13 lines
309 B
Vue

<template>
</template>
<script>
import { findPluginDevice, getDeviceViewPath } from "./helpers";
export default {
async mounted() {
const core = findPluginDevice(this.$scrypted.systemManager, '@scrypted/core', 'aggregatecore');
this.$router.replace(getDeviceViewPath(core.id));
},
};
</script>