Compare commits
No commits in common. "088f371547d18cec74457e31fba3bbf7c401ac67" and "b5f16a3d0dc20900213996334e9249a0c1b1cd01" have entirely different histories.
088f371547
...
b5f16a3d0d
@ -268,14 +268,11 @@ const selectGroup = (group: Group) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const openCreateListDialog = (group: Group) => {
|
const openCreateListDialog = (group: Group) => {
|
||||||
// Ensure we have the latest groups data
|
|
||||||
fetchGroups().then(() => {
|
|
||||||
availableGroupsForModal.value = [{
|
availableGroupsForModal.value = [{
|
||||||
label: group.name,
|
label: group.name,
|
||||||
value: group.id
|
value: group.id
|
||||||
}];
|
}];
|
||||||
showCreateListModal.value = true;
|
showCreateListModal.value = true;
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const onListCreated = (newList: any) => {
|
const onListCreated = (newList: any) => {
|
||||||
@ -283,8 +280,6 @@ const onListCreated = (newList: any) => {
|
|||||||
message: `List '${newList.name}' created successfully.`,
|
message: `List '${newList.name}' created successfully.`,
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
// Optionally refresh the groups list to show the new list
|
|
||||||
fetchGroups();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user