mirror of
https://github.com/olehomelchenko/astrolabe-nvc.git
synced 2025-12-21 21:22:23 +00:00
fix: ensure snippet ID is parsed as a float before selection
This commit is contained in:
@@ -757,7 +757,7 @@ function openSnippetFromDataset(snippetId) {
|
|||||||
|
|
||||||
// Small delay to ensure UI is ready
|
// Small delay to ensure UI is ready
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
selectSnippet(snippetId);
|
selectSnippet(parseFloat(snippetId));
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user