mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
Addresses comments from PR: https://github.com/nasa/openmct/pull/2621 (#2623)
* Addresses comments from PR: https://github.com/nasa/openmct/pull/2621 * Fixes import path.
This commit is contained in:
parent
68949e070c
commit
8df549e8d9
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user