Browse Source

Fix assets

pull/744/head
Sebastian 4 years ago
parent
commit
5b362bfbcd
  1. 2
      frontend/app/framework/services/dialog.service.spec.ts
  2. 2
      frontend/app/framework/services/dialog.service.ts
  3. 2
      frontend/app/shared/components/contents/content-value.component.html
  4. 4
      frontend/app/shared/components/schema-category.component.html

2
frontend/app/framework/services/dialog.service.spec.ts

@ -35,7 +35,7 @@ describe('DialogService', () => {
expect(notification.displayTime).toBe(10000);
expect(notification.message).toBe('MyInfo');
expect(notification.messageType).toBe('info');
expect(notification.messageType).toBe('primary');
});
[true, false].forEach(confirmed => {

2
frontend/app/framework/services/dialog.service.ts

@ -80,7 +80,7 @@ export class Notification {
}
public static info(message: string | ErrorDto): Notification {
return new Notification(message, 'info');
return new Notification(message, 'primary');
}
}

2
frontend/app/shared/components/contents/content-value.component.html

@ -4,5 +4,5 @@
</span>
</ng-container>
<ng-template #html>
<div class="htms-value" [innerHTML]="value.html"></div>
<div class="html-value" [innerHTML]="value.html"></div>
</ng-template>

4
frontend/app/shared/components/schema-category.component.html

@ -29,7 +29,7 @@
</div>
</li>
<ng-container *ngIf="!isCollapsed" @fade [style.height]="getContainerHeight()">
<div *ngIf="!isCollapsed" @fade [style.height]="getContainerHeight()">
<ng-container *ngIf="!forContent; else simpleMode">
<li *ngFor="let schema of filteredSchemas; trackBy: trackBySchema" class="nav-item truncate" [style.height]="getItemHeight()"
cdkDrag
@ -52,7 +52,7 @@
</a>
</li>
</ng-template>
</ng-container>
</div>
<div class="drop-indicator"></div>
</ul>

Loading…
Cancel
Save