mirror of
https://github.com/koush/scrypted.git
synced 2026-04-20 15:10:25 +01:00
13 lines
306 B
Vue
13 lines
306 B
Vue
<template>
|
|
|
|
</template>
|
|
<script>
|
|
import { findPluginDevice, getDeviceViewPath } from "./helpers";
|
|
|
|
export default {
|
|
async mounted() {
|
|
const core = findPluginDevice(this.$scrypted.systemManager, '@scrypted/core', 'scriptcore');
|
|
this.$router.replace(getDeviceViewPath(core.id));
|
|
},
|
|
};
|
|
</script> |