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