mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-17 13:14:54 +00:00
Moved "number selected"... but it doesn't update. Why?
This commit is contained in:
@@ -2,6 +2,7 @@ import { ref } from 'vue';
|
||||
|
||||
export const useEmailSelection = function(){
|
||||
let selectedEmailIds = ref(new Set(['1', '5']))
|
||||
|
||||
let toggleEmailSelection = (id) => {
|
||||
if(selectedEmailIds.value.has(id)) {
|
||||
selectedEmailIds.value.delete(id)
|
||||
|
||||
Reference in New Issue
Block a user