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:
parent
034e759298
commit
5ca6538965
@ -68,6 +68,8 @@
|
|||||||
* iterate through the visible servers and fetch their resource usage.
|
* iterate through the visible servers and fetch their resource usage.
|
||||||
*/
|
*/
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
|
this.$refs.search.focus();
|
||||||
|
|
||||||
window.setTimeout(() => {
|
window.setTimeout(() => {
|
||||||
this._iterateServerResourceUse();
|
this._iterateServerResourceUse();
|
||||||
}, 5000);
|
}, 5000);
|
||||||
|
Loading…
Reference in New Issue
Block a user