From 80ffa81da53de588de2d4ed7b174bf7211aadb37 Mon Sep 17 00:00:00 2001 From: "pro.boooooo" Date: Thu, 9 Mar 2023 15:01:50 +0100 Subject: [PATCH] $ --- src/components/global/api/Controller.js | 1 + src/components/global/api/api.js | 2 +- src/components/global/loc/loc.riot | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/global/api/Controller.js b/src/components/global/api/Controller.js index 1c2bd76..0ea92c5 100644 --- a/src/components/global/api/Controller.js +++ b/src/components/global/api/Controller.js @@ -39,6 +39,7 @@ export default class Controller { if(this.model.getTCat() != null) { this.getData(3).then() + this.getData(this.model.getCurIndex()).then() } else { this.getData(this.model.getCurIndex()).then() } diff --git a/src/components/global/api/api.js b/src/components/global/api/api.js index f2a1671..f4390e4 100644 --- a/src/components/global/api/api.js +++ b/src/components/global/api/api.js @@ -3,7 +3,7 @@ import View from "./View.js" import Model from "./Model.js" /** - * @return {{ Controller, Model, View }} + * @return {{ controller: Controller, model: Model, view: View }} * */ export default function start() { const view = new View() diff --git a/src/components/global/loc/loc.riot b/src/components/global/loc/loc.riot index 82c86d7..f2508f0 100644 --- a/src/components/global/loc/loc.riot +++ b/src/components/global/loc/loc.riot @@ -3,7 +3,6 @@ loc { width: 100%; height: 3vw; - max-height: auto; display: flex; justify-content: center; align-items: center;