mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki list dzienników
This commit is contained in:
@@ -11,15 +11,13 @@
|
||||
<div class="list_wrapper" @scroll="handleScroll">
|
||||
<!-- <transition name="warning" mode="out-in"> -->
|
||||
<!-- <div :key="dataStatus"> -->
|
||||
<Loading
|
||||
v-if="dataStatus == DataStatus.Initialized || (dataStatus == DataStatus.Loading && historyList.length == 0)"
|
||||
/>
|
||||
<Loading v-if="dataStatus == DataStatus.Initialized || dataStatus == DataStatus.Loading" />
|
||||
|
||||
<div v-else-if="dataStatus == DataStatus.Error" class="journal_warning error">
|
||||
{{ $t('app.error') }}
|
||||
</div>
|
||||
|
||||
<div class="journal_warning" v-else-if="historyList.length == 0 && dataStatus != DataStatus.Loading">
|
||||
<div class="journal_warning" v-else-if="historyList.length == 0">
|
||||
{{ $t('app.no-result') }}
|
||||
</div>
|
||||
|
||||
@@ -227,7 +225,7 @@ export default defineComponent({
|
||||
else if (this.sorterActive.id == 'duration') queries.push('sortBy=currentDuration');
|
||||
else queries.push('sortBy=timestampFrom');
|
||||
|
||||
queries.push('countLimit=15');
|
||||
queries.push('countLimit=30');
|
||||
|
||||
this.currentQuery = queries.join('&');
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<!-- <div :key="dataStatus"> -->
|
||||
<Loading
|
||||
v-if="
|
||||
dataStatus == DataStatus.Initialized || (dataStatus == DataStatus.Loading && timetableHistory.length == 0)
|
||||
dataStatus == DataStatus.Initialized || (dataStatus == DataStatus.Loading )
|
||||
"
|
||||
/>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
{{ $t('app.error') }}
|
||||
</div>
|
||||
|
||||
<div v-else-if="timetableHistory.length == 0 && dataStatus != DataStatus.Loading" class="journal_warning">
|
||||
<div v-else-if="timetableHistory.length == 0" class="journal_warning">
|
||||
{{ $t('app.no-result') }}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
//Styles
|
||||
|
||||
.list_wrapper {
|
||||
overflow-y: scroll;
|
||||
overflow-y: auto;
|
||||
height: 90vh;
|
||||
min-height: 550px;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user