tycho-components 0.0.18-r4 → 0.0.18-r5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@ export const useCorpusUtils = () => {
|
|
|
14
14
|
return state.corpus !== undefined && state.corpus.uid !== '';
|
|
15
15
|
};
|
|
16
16
|
const hasParameter = (corpus, param) => {
|
|
17
|
-
return corpus.parameters[param];
|
|
17
|
+
return corpus.parameters && corpus.parameters[param];
|
|
18
18
|
};
|
|
19
19
|
return {
|
|
20
20
|
getCorpus,
|