feat: 🎉 Rating Orama!

This commit is contained in:
2023-04-09 06:45:27 +02:00
commit b2f4b573f3
61 changed files with 8130 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
export function search() {
return {
url: '/tv-show?id=',
ttID: '',
isLoading: false,
isError: false,
submit() {
this.isLoading = true;
fetch(this.url+this.ttID).then(response => {
if (response.ok) {
window.location.href = this.url+this.ttID;
} else {
this.isLoading = false;
this.isError = true;
}
});
}
}
}