diff --git a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.spec.ts b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.spec.ts index bdbc7b0d6..4bd3dac70 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.spec.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.component.spec.ts @@ -27,7 +27,9 @@ describe('PoTableColumnLabelComponent:', () => { labels = [ { value: 'success', label: 'Success', color: 'color-11' }, { value: 'warning', label: 'Warning', color: 'color-08' }, - { value: 1, label: 'Danger', color: 'color-07' } + { value: 1, label: 'Danger', color: 'color-07' }, + { value: true, label: 'Success', color: 'color-11' }, + { value: false, label: 'Warning', color: 'color-08' } ]; }); diff --git a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.interface.ts b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.interface.ts index 4c1096208..fd898bf9a 100644 --- a/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.interface.ts +++ b/projects/ui/src/lib/components/po-table/po-table-column-label/po-table-column-label.interface.ts @@ -41,5 +41,5 @@ export interface PoTableColumnLabel { tooltip?: string; /** Valor que será usado como referência para exibição do conteúdo na coluna. */ - value: string | number; + value: string | number | boolean; }