wip
This commit is contained in:
@@ -301,7 +301,7 @@ export default defineComponent({
|
||||
search() {
|
||||
if (this.searching) return;
|
||||
|
||||
this.$root.showDialog({
|
||||
this.$store.dispatch('showDialog', {
|
||||
title: this.$t('search'),
|
||||
input: true
|
||||
}).then(async ({ canceled, result: query }) => {
|
||||
@@ -351,7 +351,7 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
async addWidget(place) {
|
||||
const { canceled, result: widget } = await this.$root.showDialog({
|
||||
const { canceled, result: widget } = await this.$store.dispatch('showDialog', {
|
||||
type: null,
|
||||
title: this.$t('chooseWidget'),
|
||||
select: {
|
||||
|
Reference in New Issue
Block a user