Skip to content

Commit

Permalink
#27341 fix check it out button style
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinogiardino committed Oct 4, 2024
1 parent a12617a commit 404005b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
<button
*ngIf="currentField?.id; else learnMore"
(click)="action.emit($event)"
[label]="'contenttypes.field.properties.wysiwyg.info.button' | dm"
class="p-button-outlined p-button-sm"
pButton
data-testId="button">
{{ 'contenttypes.field.properties.wysiwyg.info.button' | dm }}
</button>
data-testId="button"></button>

<ng-template #learnMore>
<a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { DebugElement } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';

import { ButtonModule } from 'primeng/button';

import { DotMessageService } from '@dotcms/data-access';
import { DotMessagePipe } from '@dotcms/ui';
import { MockDotMessageService } from '@dotcms/utils-testing';
Expand All @@ -22,7 +24,7 @@ describe('DotConvertToBlockInfoComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [DotConvertToBlockInfoComponent],
imports: [DotMessagePipe],
imports: [DotMessagePipe, ButtonModule],
providers: [
{
provide: DotMessageService,
Expand Down

0 comments on commit 404005b

Please sign in to comment.