<SearchInput
class="navbar-item is-inline-block-mobile"
+ :hotkey="searchHotkey()"
@input="filterServices"
@search-focus="showMenu = true"
@search-open="navigateToFirstService"
<Service
v-for="(item, index) in group.items"
:key="index"
- v-bind:item="item"
+ :item="item"
+ :proxy="config.proxy"
:class="['column', `is-${12 / config.columns}`]"
/>
</template>
<Service
v-for="(item, index) in group.items"
:key="index"
- v-bind:item="item"
+ :item="item"
+ :proxy="config.proxy"
/>
</div>
</div>
window.onhashchange = this.buildDashboard;
},
methods: {
+ searchHotkey() {
+ if (this.config.hotkey && this.config.hotkey.search) {
+ return this.config.hotkey.search;
+ }
+ },
buildDashboard: async function () {
const defaults = jsyaml.load(defaultConfig);
let config;
window.location.href = response.url;
return;
}
+
if (!response.ok) {
throw Error(`${response.statusText}: ${response.body}`);
}