Update src/Umbraco.Web.UI.Client/src/views/components/blockcard/umbBlockCard.component.js

This commit is contained in:
Warren Buckley
2020-08-25 13:32:05 +01:00
committed by GitHub
parent 4cc9935b10
commit eee3d489f1

View File

@@ -42,7 +42,7 @@
var path = umbRequestHelper.convertVirtualToAbsolutePath(vm.blockConfigModel.thumbnail);
if (path.toLowerCase().endsWith(".svg") === false) {
path += "?upscale=false&width=400)";
path += "?upscale=false&width=400";
}
vm.styleBackgroundImage = 'url(\''+path+'\')';
}