Fix switcing between projects disabled state (#4271)

This commit is contained in:
Pavel Laptev 2024-07-08 12:10:40 +02:00 committed by GitHub
parent 2cdbc5e205
commit aa6bc6d20c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@
style="pop"
kind="solid"
icon="chevron-right-small"
disabled={selectedProjectId === project}
disabled={selectedProjectId === project?.id}
on:mousedown={() => {
if (selectedProjectId) goto(`/${selectedProjectId}/`);
}}