Skip to content

Commit 5ca6538

Browse files
committed
Autofocus search box when navigating to dashboard
1 parent 034e759 commit 5ca6538

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

resources/assets/scripts/components/dashboard/Dashboard.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
* iterate through the visible servers and fetch their resource usage.
6969
*/
7070
mounted: function () {
71+
this.$refs.search.focus();
72+
7173
window.setTimeout(() => {
7274
this._iterateServerResourceUse();
7375
}, 5000);

0 commit comments

Comments
 (0)