mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-04-28 18:50:07 +00:00
fix router in store
This commit is contained in:
@@ -8,7 +8,7 @@ import automationModule from "./automation";
|
||||
|
||||
Vue.use(Vuex);
|
||||
|
||||
export default function ({ router }) {
|
||||
export default function () {
|
||||
const Store = new Vuex.Store({
|
||||
modules: {
|
||||
logs: logModule,
|
||||
@@ -192,7 +192,7 @@ export default function ({ router }) {
|
||||
Object.entries(input).length === 0 &&
|
||||
input.constructor === Object
|
||||
) {
|
||||
router.push({ name: "InitialSetup" });
|
||||
this.$router.push({ name: "InitialSetup" });
|
||||
}
|
||||
const output = [];
|
||||
for (let prop in input) {
|
||||
|
||||
Reference in New Issue
Block a user