mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
improve command selection
This commit is contained in:
@@ -106,8 +106,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: {
|
||||
options;
|
||||
$: if (selected > options.length - 1) {
|
||||
selected = options.length - 1;
|
||||
} else if (selected < 0) {
|
||||
selected = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user