mirror of
https://github.com/olehomelchenko/astrolabe-nvc.git
synced 2025-12-21 13:12: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
|
||||
setTimeout(() => {
|
||||
selectSnippet(snippetId);
|
||||
selectSnippet(parseFloat(snippetId));
|
||||
}, 100);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user