mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 06:30:50 +01:00
no more soft delete => we do it hard now
This commit is contained in:
@ -563,7 +563,9 @@ const onSwiperInit = (swiper: SwiperType) => {
|
||||
}
|
||||
|
||||
const onSlideChange = (swiper: SwiperType) => {
|
||||
workspaceStore.switchToWorkspace(swiper.activeIndex)
|
||||
workspaceStore.switchToWorkspace(
|
||||
workspaceStore.workspaces.at(swiper.activeIndex)?.id,
|
||||
)
|
||||
}
|
||||
|
||||
// Workspace control handlers
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
? 'ring-2 ring-secondary bg-secondary/10'
|
||||
: 'hover:ring-2 hover:ring-gray-300',
|
||||
]"
|
||||
@click="workspaceStore.slideToWorkspace(workspace.position)"
|
||||
@click="workspaceStore.slideToWorkspace(workspace.id)"
|
||||
>
|
||||
<template #header>
|
||||
<div class="flex justify-between">
|
||||
|
||||
Reference in New Issue
Block a user