diff --git a/resources/js/Pages/IkeaRoot.vue b/resources/js/Pages/IkeaRoot.vue index eb09b14..630078e 100644 --- a/resources/js/Pages/IkeaRoot.vue +++ b/resources/js/Pages/IkeaRoot.vue @@ -26,6 +26,7 @@ const screenWidth = ref(screen.width) const screenHeight = ref(screen.height) const hover = ref(true); const hoverImage = ref(null); +const selectedRow = ref(null); const sdropdown = ref([ { text: "Description", value: "typeName" }, @@ -400,6 +401,10 @@ const submit = () => { settingsStore.post(route("products.compare")); }; +const selectedRowClassNameFunction = (item) => { + if (item.code == itemCode.value) return 'selected-row'; +}; +