TT#141400 Issue - PBXConfiguration - SoundSet - Can not see (first) SoundSet after creation

Change-Id: I6feba08b7c58efc4324330192d7646e33887aba2
mr10.1.1
Hugo Zigha 4 years ago
parent bbe230a011
commit 12a514bcc9

@ -4,6 +4,7 @@ import {
CreationState,
RequestState
} from './common'
import {
getSoundSetList,
createSoundSet,
@ -314,10 +315,11 @@ export default {
loadSoundSetList (context, options) {
return new Promise((resolve) => {
const listVisible = _.get(options, 'listVisible', false)
const page = _.get(options, 'page', context.state.soundSetListCurrentPage)
context.commit('soundSetListRequesting', {
listVisible: listVisible
})
let page = _.get(options, 'page', context.state.soundSetListCurrentPage)
page = (page === null) ? 1 : page
getSoundSetList({
page: page
}).then((soundSetList) => {

Loading…
Cancel
Save