Skip to content
Snippets Groups Projects
Commit d20c758f authored by L. Ellenbeck's avatar L. Ellenbeck Committed by Sandra Westerhoff
Browse files

Fix: Allow for empty license (coscine/issues#2734)

parent 4ee19118
Branches
Tags
2 merge requests!299Rebase dev,!293Fix: Allow for empty license (coscine/issues#2734)
......@@ -61,7 +61,7 @@ export const getTestResource: () => Promise<VisitedResourceObject> =
fullApplicationProfile: ap,
id: "eeb8d803-46a1-49ba-a47c-81cd4f49cd65",
keywords: [],
license: {},
license: undefined,
pid: "21.11102/eeb8d803-46a1-49ba-a47c-81cd4f49cd65",
rawApplicationProfile: ap,
name: "TestResource",
......
......@@ -136,7 +136,7 @@ export default defineComponent({
displayName: "",
name: "",
keywords: [] as string[],
license: {} as LicenseForResourceManipulationDto,
license: undefined as LicenseForResourceManipulationDto | undefined,
usageRights: "",
disciplines: [] as DisciplineForResourceManipulationDto[],
visibility: {} as VisibilityForResourceManipulationDto,
......@@ -148,7 +148,6 @@ export default defineComponent({
>,
isWaitingForResponse: false,
isLoading: false,
testLicense: {} as LicenseForResourceManipulationDto,
};
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment