mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-15 11:21:51 +00:00
server-tab: Fix upper limit of generated shortcuts
Signed-off-by: tarun8718 <tarunkumar8718@gmail.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
afb25d5b3d
commit
25d0aefe37
@@ -46,8 +46,8 @@ export default class ServerTab extends Tab {
|
|||||||
}
|
}
|
||||||
|
|
||||||
generateShortcutText(): string {
|
generateShortcutText(): string {
|
||||||
// Only provide shortcuts for server [0..10]
|
// Only provide shortcuts for server [0..9]
|
||||||
if (this.props.index >= 10) {
|
if (this.props.index >= 9) {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user