Skip to content

Commit cfdb00f

Browse files
author
David Linko
committed
fixed handlePageChange not found issue
1 parent e640959 commit cfdb00f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

anms-ui/public/app/components/management/builder/ActionParameter.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
<template v-slot:list-header="{ search, _ }">
1212
<b-button size="sm" @click="addARI(search)">Add ARI</b-button>
1313
</template>
14-
1514
</v-select>
1615
</b-form-group>
1716

anms-ui/public/app/components/management/builder/transcoder.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@
7272
</option>
7373
</select>
7474
</div>
75-
7675
<b-pagination v-model="page"
7776
class="m-0"
7877
:total-rows="count"
7978
:per-page="pageSize"
8079
aria-controls="transcoder-table"
8180
@change="handlePageChange"></b-pagination>
8281
</div>
83-
<!-- </div> -->
8482
</b-col>
8583
<br/>
8684
</b-row>
@@ -172,13 +170,16 @@ export default {
172170
handlePageChange(value) {
173171
const vm = this;
174172
vm.setPage(value);
175-
vm.reloadTranscoderLog();
173+
// slight buffer to allow transcoder to catch up of needed
174+
let sleep = (time) => new Promise((resolve) => setTimeout(resolve, time));
175+
sleep(200).then(() => {
176+
vm.reloadTranscoderLog();
177+
});
176178
},
177179
handlePageSizeChange(event) {
178180
const vm = this;
179181
vm.setPageSize(event.target.value);
180-
handlePageChange(1);
181-
reloadTranscoderLog();
182+
vm.handlePageChange(1);
182183
},
183184
handleSearchStringChange(event) {
184185
const vm = this;

0 commit comments

Comments
 (0)