Skip to content

Commit

Permalink
Stupid linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSqua committed Oct 26, 2024
1 parent d49f43d commit 447d1ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
<app-staff-item-detail [item]="item" (itemUpdate)="this.UpdateItem($event)" />
</section>

@if (item.derived_type.derived_type_enum !== 'promoitem') {
@if (item.derived_type.derived_type_enum === 'promoitem') {

} @else if (item.derived_type.derived_type_enum === 'carditem') {

} @else {
<section class="staffSection">
<h1>Product Blueprints</h1>
<app-product-blueprint-dashboard [item]="item.item" />
Expand Down Expand Up @@ -32,9 +36,7 @@ <h2>Add Checkout</h2>
</section>
}

@if (item.derived_type.derived_type_enum === 'carditem'
|| item.derived_type.derived_type_enum === 'promoitem'
|| item.derived_type.derived_type_enum === 'linkitem') {
@if (item.derived_type.derived_type_enum === 'carditem') {
<section class="staffSection">
<app-interaction-table [item_id]="this.item.item.id"></app-interaction-table>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>Interactions Table</h2>
<th mat-header-cell *matHeaderCellDef><div>
ID<input class="w-3/4" type="text" placeholder="ID" [formControlName]="'idControl'"></div>
</th>
<td mat-cell *matCellDef="let interaction">{{ interaction.id }}</td>
<td mat-cell *matCellDef="let interaction">{{ interaction.interaction_id }}</td>
</ng-container>

<ng-container matColumnDef="item">
Expand Down

0 comments on commit 447d1ed

Please sign in to comment.