diff --git a/src/api/GlobalApi.js b/src/api/GlobalApi.js index a39d384..2acc32d 100644 --- a/src/api/GlobalApi.js +++ b/src/api/GlobalApi.js @@ -37,7 +37,7 @@ export default class GlobalApi { builddate = VERSION * 1000; - current_window = location.hash.length > 1?location.hash.slice(1):'mainView'; + current_window = location.hash.length > 1?location.hash.slice(1)==="backendView"?"profileView":location.hash.slice(1):'mainView'; load_stages = new Stages(); diff --git a/src/components/ActionDialogs/AdminDialog.vue b/src/components/ActionDialogs/AdminDialog.vue index df88246..9c2feb7 100644 --- a/src/components/ActionDialogs/AdminDialog.vue +++ b/src/components/ActionDialogs/AdminDialog.vue @@ -1,5 +1,5 @@ @@ -33,10 +35,11 @@ import AdminInfoDialog from "@/components/ActionDialogs/AdminInfoDialog.vue"; import axios from "axios"; import Random from "@/api/Random"; +import AdminDialog from "@/components/ActionDialogs/AdminDialog.vue"; export default { name: "BanViewDialog", - components: {AdminInfoDialog}, + components: {AdminDialog, AdminInfoDialog}, data: () => ({ show: false, ban: null, diff --git a/src/components/TabsMenuElements/BackendStatus/Components/FindPlayer.vue b/src/components/ActionDialogs/FindPlayer.vue similarity index 100% rename from src/components/TabsMenuElements/BackendStatus/Components/FindPlayer.vue rename to src/components/ActionDialogs/FindPlayer.vue diff --git a/src/components/ActionDialogs/GametimeDialog.vue b/src/components/ActionDialogs/GametimeDialog.vue index 03f8178..deaf371 100644 --- a/src/components/ActionDialogs/GametimeDialog.vue +++ b/src/components/ActionDialogs/GametimeDialog.vue @@ -28,7 +28,7 @@
-

Загрузка

+

Загрузка

@@ -67,6 +67,7 @@ export default { this.gametime.mdData = [] }, update(page, limit) { + if (this.loading === true) return; console.log(page, limit, this.rowsPerPage); const offset = Math.abs((page-1) * limit); this.loading = true; diff --git a/src/components/Others/Loader/ProfileViewer.vue b/src/components/Others/Loader/ProfileViewer.vue index 1b688e9..d1ef042 100644 --- a/src/components/Others/Loader/ProfileViewer.vue +++ b/src/components/Others/Loader/ProfileViewer.vue @@ -1,19 +1,27 @@