Skip to content

Commit

Permalink
[MIGRATION] - Fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoAlbano committed Dec 6, 2024
1 parent ec47a0a commit a7a3e7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
3 changes: 0 additions & 3 deletions lib/core/api/src/lib/adf-http-client.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export class AdfHttpClient implements ee.Emitter, JsApiHttpClient {

/**
* Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
*
* @param contentTypes a contentType array
* @returns The chosen content type, preferring JSON.
*/
Expand All @@ -299,7 +298,6 @@ export class AdfHttpClient implements ee.Emitter, JsApiHttpClient {
* <li>application/json; charset=UTF8</li>
* <li>APPLICATION/JSON</li>
* </ul>
*
* @param contentType The MIME content type to check.
* @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
*/
Expand Down Expand Up @@ -344,7 +342,6 @@ export class AdfHttpClient implements ee.Emitter, JsApiHttpClient {

/**
* Deserialize an HTTP response body into a value of the specified type.
*
* @param response response object
* @param returnType return type
* @returns deserialized object
Expand Down
1 change: 0 additions & 1 deletion lib/core/src/lib/auth/oidc/auth.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export const JWT_STORAGE_SERVICE = new InjectionToken<OAuthStorage>('JWT_STORAGE

/**
* Create a Login Factory function
*
* @param redirectService auth redirect service
* @returns a factory function
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@
</ng-container>

<div *ngIf="col.header" class="adf-datatable-cell-value">
<ng-template [ngTemplateOutlet]="col.header" [ngTemplateOutletContext]="{$implicit: col}"></ng-template>
<ng-template [ngTemplateOutlet]="col.header" [ngTemplateOutletContext]="{$implicit: col}" />
</div>

<span
[class.adf-datatable__header--sorted-asc]="isColumnSorted(col, 'asc')"
[class.adf-datatable__header--sorted-desc]="isColumnSorted(col, 'desc')">
</span>

<ng-template *ngIf="allowFiltering" [ngTemplateOutlet]="headerFilterTemplate" [ngTemplateOutletContext]="{$implicit: col}"></ng-template>
<ng-template *ngIf="allowFiltering" [ngTemplateOutlet]="headerFilterTemplate" [ngTemplateOutletContext]="{$implicit: col}" />

<span
*ngIf="col.draggable"
Expand Down Expand Up @@ -406,9 +406,8 @@
<div class="adf-no-content-container adf-datatable-cell" role="gridcell">
<ng-template *ngIf="noContentTemplate"
ngFor [ngForOf]="[data]"
[ngForTemplate]="noContentTemplate">
</ng-template>
<ng-content select="adf-empty-list"></ng-content>
[ngForTemplate]="noContentTemplate" />
<ng-content select="adf-empty-list" />
</div>
</div>
</ng-container>
Expand All @@ -418,16 +417,14 @@
<div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell">
<ng-template *ngIf="noPermissionTemplate"
ngFor [ngForOf]="[data]"
[ngForTemplate]="noPermissionTemplate">
</ng-template>
[ngForTemplate]="noPermissionTemplate" />
</div>
</div>
<div *ngIf="loading" class="adf-datatable-row">
<div class="adf-no-content-container adf-datatable-cell">
<ng-template *ngIf="loadingTemplate"
ngFor [ngForOf]="[data]"
[ngForTemplate]="loadingTemplate">
</ng-template>
[ngForTemplate]="loadingTemplate" />
</div>
</div>
</div>
Expand Down

0 comments on commit a7a3e7f

Please sign in to comment.