fix
This commit is contained in:
parent
2425a8f03f
commit
4002471360
|
@ -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 New Issue