mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 18:33:46 +02:00
Autofocus search box when navigating to dashboard
This commit is contained in:
@@ -68,6 +68,8 @@
|
||||
* iterate through the visible servers and fetch their resource usage.
|
||||
*/
|
||||
mounted: function () {
|
||||
this.$refs.search.focus();
|
||||
|
||||
window.setTimeout(() => {
|
||||
this._iterateServerResourceUse();
|
||||
}, 5000);
|
||||
|
||||
Reference in New Issue
Block a user