Skip to content

Commit bdb4bd7

Browse files
committed
Return an indicator for no value set
Signed-off-by: snipe <[email protected]>
1 parent bf88597 commit bdb4bd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/views/partials/bootstrap-table.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,12 +664,13 @@ function prettyLog(str) {
664664
function minAmtFormatter(row, value) {
665665
666666
if ((row) && (row!=undefined)) {
667+
667668
if (value.remaining <= value.min_amt) {
668669
return '<span class="text-danger text-bold" data-tooltip="true" title="{{ trans('admin/licenses/general.below_threshold_short') }}"><x-icon type="warning" class="text-yellow" /> ' + value.min_amt + '</span>';
669670
}
670671
return value.min_amt
671672
}
672-
673+
return '--';
673674
}
674675
675676

0 commit comments

Comments
 (0)