This commit is contained in:
Muhammad Shahzad 2024-06-11 23:21:17 +05:00
parent 8ae4f3385d
commit 348a293583
2 changed files with 3 additions and 1 deletions

View File

@ -71,6 +71,8 @@ const getPatientFilter = async() => {
}
const getPatientList = computed(async () => {
subcriptionLists.value = [];
patientList.value = [];
subcriptionLists.value = store.getters.getSubcriptions;
const allIndex = subcriptionLists.value.findIndex(sub => sub.title.toLowerCase() === 'all');

View File

@ -247,7 +247,7 @@ const deleteItemConfirm = async() => {
closeDelete()
}
const getprovidersList = computed(async () => {
providersList.value = [];
console.log('getprovidersFilterList',store.getters.getProvidersList)
let list = store.getters.getProvidersList
store.dispatch('updateIsLoading', false)