1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 01:22:30 +01:00

Autofocus search box when navigating to dashboard

This commit is contained in:
Dane Everitt 2018-07-21 22:43:16 -07:00
parent 034e759298
commit 5ca6538965
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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);