1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-10 13:04:06 +02:00
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: {