mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Fix: wskaźnik ładowania dzienników
This commit is contained in:
@@ -224,8 +224,6 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
async fetchHistoryData() {
|
||||
this.dataStatus = DataStatus.Loading;
|
||||
|
||||
const queries: string[] = [];
|
||||
|
||||
const dispatcher = this.searchersValues['search-dispatcher'].trim();
|
||||
@@ -246,6 +244,8 @@ export default defineComponent({
|
||||
|
||||
queries.push('countLimit=30');
|
||||
|
||||
if (this.currentQuery != queries.join('&')) this.dataStatus = DataStatus.Loading;
|
||||
|
||||
this.currentQuery = queries.join('&');
|
||||
this.currentQueryArray = queries;
|
||||
|
||||
|
||||
@@ -214,8 +214,6 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
async fetchHistoryData() {
|
||||
this.dataStatus = DataStatus.Loading;
|
||||
|
||||
const queries: string[] = [];
|
||||
|
||||
const driverName = this.searchersValues['search-driver'].trim();
|
||||
@@ -257,6 +255,8 @@ export default defineComponent({
|
||||
break;
|
||||
}
|
||||
|
||||
if (this.currentQuery != queries.join('&')) this.dataStatus = DataStatus.Loading;
|
||||
|
||||
this.currentQuery = queries.join('&');
|
||||
this.currentQueryArray = queries;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user