tripeur %!s(int64=4) %!d(string=hai) anos
pai
achega
64307a1c54
Modificáronse 2 ficheiros con 2 adicións e 22 borrados
  1. 1 5
      src/components/Utils/DataTable.vue
  2. 1 17
      src/views/Planning.vue

+ 1 - 5
src/components/Utils/DataTable.vue

@@ -378,11 +378,7 @@ export default defineComponent({
     },
     perPageOptions() {
       let options: Array<number> = (Array.isArray(this.perPage) && this.perPage) || [
-        10,
-        20,
-        30,
-        40,
-        50,
+        10, 20, 30, 40, 50,
       ];
       // Sort options
       options.sort((a: number, b: number) => a - b);

+ 1 - 17
src/views/Planning.vue

@@ -286,23 +286,7 @@ export default defineComponent({
     },
     zoom(lvl: number) {
       const durations = [
-        10080,
-        10080,
-        10080,
-        10080,
-        10080,
-        1440,
-        1440,
-        720,
-        720,
-        360,
-        120,
-        60,
-        60,
-        60,
-        30,
-        30,
-        15,
+        10080, 10080, 10080, 10080, 10080, 1440, 1440, 720, 720, 360, 120, 60, 60, 60, 30, 30, 15,
         5,
       ];
       const slotWidths = [40, 60, 80, 120, 160, 30, 40, 30, 50, 40, 25, 20, 30, 40, 30, 40, 35, 20];