refactor: don´t show 'description' if it is empty
gitea/salix/pipeline/head This commit is unstable Details

This commit is contained in:
Vicent Llopis 2022-06-29 14:28:23 +02:00
parent fcf79a507c
commit d49a2666f1
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
ALTER TABLE `vn`.`item` MODIFY COLUMN description varchar(512) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL NULL; ALTER TABLE `vn`.`item` MODIFY COLUMN description TEXT CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL NULL;

View File

@ -117,7 +117,7 @@
value="{{tag.value}}"> value="{{tag.value}}">
</vn-label-value> </vn-label-value>
</vn-one> </vn-one>
<vn-one name="description"> <vn-one name="description" ng-if="$ctrl.summary.item.description">
<h4 ng-show="$ctrl.isBuyer"> <h4 ng-show="$ctrl.isBuyer">
<a <a
ui-sref="item.card.basicData({id:$ctrl.item.id})" ui-sref="item.card.basicData({id:$ctrl.item.id})"