Skip to content

Commit

Permalink
feat #728: fix playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
helakaraa committed Sep 16, 2024
1 parent b82e063 commit 46cdc66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const SubscriptionMetadataModal = <T extends IWithTesting>(
},
};

if (!props.subscription?.parent) {
if (!props.subscription?.["parent"]) {
schema["validUntil"] = {
type: type.date,
label: translate("sub.meta.modal.valid.until.label"),
Expand Down
3 changes: 1 addition & 2 deletions daikoku/javascript/src/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export interface IBaseSubscription {
customMaxPerDay?: number;
customReadOnly?: boolean;
adminCustomName?: string;
parent? : object;
parent: string | null;
parentUp: boolean;
}

Expand Down Expand Up @@ -445,7 +445,6 @@ export interface ISubscriptionCustomization {
customReadOnly?: boolean;
adminCustomName?: string;
validUntil?: number;
parent? : object;
}


Expand Down

0 comments on commit 46cdc66

Please sign in to comment.