Browse Source

Added missing icon for the bootstrap 5 theme (#5969)

Dustin Utecht 4 years ago
parent
commit
2930ce964e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/extensions/print/bootstrap-table-print.js

+ 1 - 0
src/extensions/print/bootstrap-table-print.js

@@ -74,6 +74,7 @@ $.extend($.fn.bootstrapTable.COLUMN_DEFAULTS, {
 $.extend($.fn.bootstrapTable.defaults.icons, {
   print: {
     bootstrap3: 'glyphicon-print icon-share',
+    bootstrap5: 'bi-printer',
     'bootstrap-table': 'icon-printer'
   }[$.fn.bootstrapTable.theme] || 'fa-print'
 })