1
0
forked from mirror/misskey

fix(client): ロールで広告を無効にするとadmin/adsでプレビューがでてこない

Fix #10272
This commit is contained in:
syuilo 2023-03-09 12:28:40 +09:00
parent 9d1a874ddc
commit 6607b39235
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ You should also include the user name that made the change.
- enhance(client): フォロー申請のボタンのデザインを改善
### Bugfixes
-
- ロールで広告を無効にするとadmin/adsでプレビューがでてこない問題を修正
## 13.9.2 (2023/03/06)

View File

@ -82,7 +82,7 @@ const choseAd = (): Ad | null => {
};
const chosen = ref(choseAd());
const shouldHide = $ref($i && $i.policies.canHideAds);
const shouldHide = $ref($i && $i.policies.canHideAds && (props.specify == null));
function reduceFrequency(): void {
if (chosen.value == null) return;