fix
This commit is contained in:
parent
2425a8f03f
commit
4002471360
1 changed files with 3 additions and 3 deletions
|
@ -78,9 +78,9 @@ export default defineComponent({
|
||||||
this.visibility = visibility;
|
this.visibility = visibility;
|
||||||
} else {
|
} else {
|
||||||
// Mastodonと互換性を持たせてみる
|
// Mastodonと互換性を持たせてみる
|
||||||
if (this.visibility === 'unlisted') this.visibility = 'home';
|
if (visibility === 'unlisted') this.visibility = 'home';
|
||||||
else if (this.visibility === 'private') this.visibility = 'followers';
|
else if (visibility === 'private') this.visibility = 'followers';
|
||||||
else if (this.visibility === 'direct') this.visibility = 'specified';
|
else if (visibility === 'direct') this.visibility = 'specified';
|
||||||
else this.visibility = null;
|
else this.visibility = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue