mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
chore: removed console.logs
This commit is contained in:
+1
-4
@@ -3,10 +3,7 @@ import { useAuthStore } from './stores/auth.store';
|
||||
|
||||
export function createRouteGuard(router: Router) {
|
||||
router.beforeEach((to, from, next) => {
|
||||
const authStore = useAuthStore();
|
||||
|
||||
console.log(to);
|
||||
|
||||
const authStore = useAuthStore();
|
||||
|
||||
if (to.meta.protected && !authStore.user && !window.localStorage.getItem('user')) {
|
||||
next('/login');
|
||||
|
||||
@@ -175,7 +175,7 @@ export default defineComponent({
|
||||
|
||||
row.pendingChanges = { ...row.pendingChanges, ...changedVehileObj };
|
||||
|
||||
console.log(this.vehiclesStore.vehiclesTable.filter((v) => Object.keys(v.pendingChanges).length > 0));
|
||||
// console.log(this.vehiclesStore.vehiclesTable.filter((v) => Object.keys(v.pendingChanges).length > 0));
|
||||
},
|
||||
|
||||
getTableValueHTML(pendingValue: any, originalValue: any) {
|
||||
|
||||
Reference in New Issue
Block a user