This commit is contained in:
jjaffeux 2020-08-21 16:48:41 +02:00
parent 8439608f17
commit 5afca0aaa1
1 changed files with 5 additions and 1 deletions

View File

@ -193,7 +193,11 @@ export default AdComponent.extend({
@discourseComputed("isResponsive", "isFluid")
autoAdFormat(isResponsive, isFluid) {
return isResponsive ? (isFluid ? "fluid".htmlSafe() : "auto".htmlSafe()) : false;
return isResponsive
? isFluid
? "fluid".htmlSafe()
: "auto".htmlSafe()
: false;
},
@discourseComputed("ad_width", "ad_height", "isResponsive")