From bee695e17e14f7210544053efcfb2586e5dc8b8c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 18 Nov 2020 11:45:49 +0800 Subject: [PATCH] Roo/bootstrap/Card.js --- Roo/bootstrap/Card.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Card.js b/Roo/bootstrap/Card.js index 42fd640f91..da1115b7a2 100644 --- a/Roo/bootstrap/Card.js +++ b/Roo/bootstrap/Card.js @@ -248,7 +248,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { var body = { tag : 'div', - cls : 'card-body', + cls : 'card-body' + (this.body === false ? ' d-none' : ''), cn : [] }; var obody = body; @@ -268,7 +268,7 @@ Roo.extend(Roo.bootstrap.Card, Roo.bootstrap.Component, { cls : 'card-title', src: this.title // escape? }); - } + } if (this.subtitle.length) { body.cn.push({ -- 2.39.2