[Vuejs]-LocaStorage checkbox value in VUEJS – trying to format value being stored

0πŸ‘

all good – i retrieved the list properly by using const Local1 = JSON.parse(localStorage.getItem('comparable')) in the other component and retrieved the data using the below function for supabase.

const fetchData = async () => {
const { data, } = await supabase
.from("airbnb")
.select()
.in('id', [ Local1 ] )
 Filteredlist1.value = data;
 };

Leave a comment