This commit is contained in:
syuilo 2020-09-05 13:09:34 +09:00
parent 138c9868e8
commit deb3df1536
67 changed files with 229 additions and 229 deletions

View file

@ -60,7 +60,7 @@ export default defineComponent({
methods: {
async setAntenna() {
const antennas = await this.$root.api('antennas/list');
const { canceled, result: antenna } = await this.$root.showDialog({
const { canceled, result: antenna } = await this.$store.dispatch('showDialog', {
title: this.$t('selectAntenna'),
type: null,
select: {

View file

@ -137,7 +137,7 @@ export default defineComponent({
icon: faPencilAlt,
text: this.$t('rename'),
action: () => {
this.$root.showDialog({
this.$store.dispatch('showDialog', {
title: this.$t('rename'),
input: {
default: this.column.name,

View file

@ -60,7 +60,7 @@ export default defineComponent({
methods: {
async setList() {
const lists = await this.$root.api('users/lists/list');
const { canceled, result: list } = await this.$root.showDialog({
const { canceled, result: list } = await this.$store.dispatch('showDialog', {
title: this.$t('selectList'),
type: null,
select: {

View file

@ -78,7 +78,7 @@ export default defineComponent({
methods: {
async setType() {
const { canceled, result: src } = await this.$root.showDialog({
const { canceled, result: src } = await this.$store.dispatch('showDialog', {
title: this.$t('timeline'),
type: null,
select: {