From ff4f65a070c0d6979a7f5114c10ab9828d3eae20 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Wed, 1 Nov 2023 10:45:23 +0100 Subject: [PATCH] Update DashboardLog.vue --- .../js/components/dashboard/DashboardLog.vue | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/resources/js/components/dashboard/DashboardLog.vue b/resources/js/components/dashboard/DashboardLog.vue index b870d1ceca1..6ce17db1496 100644 --- a/resources/js/components/dashboard/DashboardLog.vue +++ b/resources/js/components/dashboard/DashboardLog.vue @@ -332,33 +332,33 @@ export default { this.saveTab(view); switch (view) { - case 'calls': - if (! this.callsAlreadyLoaded) { - this.getCalls(); - this.callsAlreadyLoaded = true; - } - break; - - case 'notes': - if (! this.notesAlreadyLoaded) { - this.getNotes(); - this.notesAlreadyLoaded = true; - } - break; - - case 'debts': - if (! this.debtsAlreadyLoaded) { - this.getDebts(); - this.debtsAlreadyLoaded = true; - } - break; - - case 'tasks': - if (! this.tasksAlreadyLoaded) { - this.getTasks(); - this.tasksAlreadyLoaded = true; - } - break; + case 'calls': + if (! this.callsAlreadyLoaded) { + this.getCalls(); + this.callsAlreadyLoaded = true; + } + break; + + case 'notes': + if (! this.notesAlreadyLoaded) { + this.getNotes(); + this.notesAlreadyLoaded = true; + } + break; + + case 'debts': + if (! this.debtsAlreadyLoaded) { + this.getDebts(); + this.debtsAlreadyLoaded = true; + } + break; + + case 'tasks': + if (! this.tasksAlreadyLoaded) { + this.getTasks(); + this.tasksAlreadyLoaded = true; + } + break; } },