Skip to content

Commit

Permalink
Fixed: product name disappears when changing subscription (#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
malincrist authored Mar 1, 2023
1 parent 396ea23 commit e985668
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ export class Subscriptions {
}

private syncSubscriptionLabelState(subscription: SubscriptionListItem, updatedVM: SubscriptionListItem): void {
if(updatedVM.model.productName === undefined) {
updatedVM.model.productName = subscription.model.productName;
}

if (subscription.primaryKeyBtnLabel() !== updatedVM.primaryKeyBtnLabel()) {
updatedVM.togglePrimaryKey();
}
Expand Down

0 comments on commit e985668

Please sign in to comment.