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');