* Addresses comments from PR: https://github.com/nasa/openmct/pull/2621

* Fixes import path.
This commit is contained in:
Shefali Joshi 2020-01-15 15:39:31 -08:00 committed by Pegah Sarram
parent 68949e070c
commit 8df549e8d9
2 changed files with 2 additions and 3 deletions

View File

@ -23,8 +23,7 @@
export default function ConditionSetCompositionPolicy(openmct) {
return {
allow: function (parent, child) {
let parentType = parent.type;
if (parentType === 'conditionSet' && !openmct.telemetry.isTelemetryObject(child)) {
if (parent.type === 'conditionSet' && !openmct.telemetry.isTelemetryObject(child)) {
return false;
}

View File

@ -20,7 +20,7 @@
* at runtime from the About dialog for additional information.
*****************************************************************************/
import ConditionSetViewProvider from './ConditionSetViewProvider.js';
import ConditionSetCompositionPolicy from "@/plugins/condition/ConditionSetCompositionPolicy";
import ConditionSetCompositionPolicy from "./ConditionSetCompositionPolicy";
export default function ConditionPlugin() {