[MIGRATION] - Fixed lint

This commit is contained in:
VitoAlbano
2024-12-04 17:04:40 +00:00
committed by Vito Albano
parent 1765f62cf8
commit 3e07ed22a7
3 changed files with 6 additions and 13 deletions

View File

@@ -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. * 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 * @param contentTypes a contentType array
* @returns The chosen content type, preferring JSON. * @returns The chosen content type, preferring JSON.
*/ */
@@ -299,7 +298,6 @@ export class AdfHttpClient implements ee.Emitter, JsApiHttpClient {
* <li>application/json; charset=UTF8</li> * <li>application/json; charset=UTF8</li>
* <li>APPLICATION/JSON</li> * <li>APPLICATION/JSON</li>
* </ul> * </ul>
*
* @param contentType The MIME content type to check. * @param contentType The MIME content type to check.
* @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>. * @returns <code>true</code> if <code>contentType</code> represents JSON, otherwise <code>false</code>.
*/ */
@@ -344,7 +342,6 @@ export class AdfHttpClient implements ee.Emitter, JsApiHttpClient {
/** /**
* Deserialize an HTTP response body into a value of the specified type. * Deserialize an HTTP response body into a value of the specified type.
*
* @param response response object * @param response response object
* @param returnType return type * @param returnType return type
* @returns deserialized object * @returns deserialized object

View File

@@ -35,7 +35,6 @@ export const JWT_STORAGE_SERVICE = new InjectionToken<OAuthStorage>('JWT_STORAGE
/** /**
* Create a Login Factory function * Create a Login Factory function
*
* @param redirectService auth redirect service * @param redirectService auth redirect service
* @returns a factory function * @returns a factory function
*/ */

View File

@@ -104,7 +104,7 @@
</ng-container> </ng-container>
<div *ngIf="col.header" class="adf-datatable-cell-value"> <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> </div>
<span <span
@@ -112,7 +112,7 @@
[class.adf-datatable__header--sorted-desc]="isColumnSorted(col, 'desc')"> [class.adf-datatable__header--sorted-desc]="isColumnSorted(col, 'desc')">
</span> </span>
<ng-template *ngIf="allowFiltering" [ngTemplateOutlet]="headerFilterTemplate" [ngTemplateOutletContext]="{$implicit: col}"></ng-template> <ng-template *ngIf="allowFiltering" [ngTemplateOutlet]="headerFilterTemplate" [ngTemplateOutletContext]="{$implicit: col}" />
<span <span
*ngIf="col.draggable" *ngIf="col.draggable"
@@ -433,9 +433,8 @@
<div class="adf-no-content-container adf-datatable-cell" role="gridcell"> <div class="adf-no-content-container adf-datatable-cell" role="gridcell">
<ng-template *ngIf="noContentTemplate" <ng-template *ngIf="noContentTemplate"
ngFor [ngForOf]="[data]" ngFor [ngForOf]="[data]"
[ngForTemplate]="noContentTemplate"> [ngForTemplate]="noContentTemplate" />
</ng-template> <ng-content select="adf-empty-list" />
<ng-content select="adf-empty-list"></ng-content>
</div> </div>
</div> </div>
</ng-container> </ng-container>
@@ -445,16 +444,14 @@
<div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell"> <div class="adf-no-permission__cell adf-no-content-container adf-datatable-cell">
<ng-template *ngIf="noPermissionTemplate" <ng-template *ngIf="noPermissionTemplate"
ngFor [ngForOf]="[data]" ngFor [ngForOf]="[data]"
[ngForTemplate]="noPermissionTemplate"> [ngForTemplate]="noPermissionTemplate" />
</ng-template>
</div> </div>
</div> </div>
<div *ngIf="loading" class="adf-datatable-row"> <div *ngIf="loading" class="adf-datatable-row">
<div class="adf-no-content-container adf-datatable-cell"> <div class="adf-no-content-container adf-datatable-cell">
<ng-template *ngIf="loadingTemplate" <ng-template *ngIf="loadingTemplate"
ngFor [ngForOf]="[data]" ngFor [ngForOf]="[data]"
[ngForTemplate]="loadingTemplate"> [ngForTemplate]="loadingTemplate" />
</ng-template>
</div> </div>
</div> </div>
</div> </div>