Skip to content

Commit

Permalink
fix(admin-ui): Correctly handle missing shipping checker/calculator defs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Oct 2, 2020
1 parent e8b235e commit 460963a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
(remove)="selectedChecker = null"
formControlName="checker"
></vdr-configurable-input>
<div *ngIf="!selectedChecker">
<div *ngIf="!selectedChecker || !selectedCheckerDefinition">
<vdr-dropdown>
<button class="btn btn-outline" vdrDropdownTrigger>
<clr-icon shape="plus"></clr-icon>
Expand Down Expand Up @@ -80,7 +80,7 @@
(remove)="selectedCalculator = null"
formControlName="calculator"
></vdr-configurable-input>
<div *ngIf="!selectedCalculator">
<div *ngIf="!selectedCalculator || !selectedCalculatorDefinition">
<vdr-dropdown>
<button class="btn btn-outline" vdrDropdownTrigger>
<clr-icon shape="plus"></clr-icon>
Expand Down

0 comments on commit 460963a

Please sign in to comment.