server-tab: Fix upper limit of generated shortcuts

Signed-off-by: tarun8718 <tarunkumar8718@gmail.com>
This commit is contained in:
tarun8718
2021-03-27 16:20:07 +05:30
committed by Anders Kaseorg
parent afb25d5b3d
commit 25d0aefe37

View File

@@ -46,8 +46,8 @@ export default class ServerTab extends Tab {
}
generateShortcutText(): string {
// Only provide shortcuts for server [0..10]
if (this.props.index >= 10) {
// Only provide shortcuts for server [0..9]
if (this.props.index >= 9) {
return '';
}