X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Fsrc%2Fsrc%2Fcomponents%2FComposerAppToolbar.js;h=458e774c8eb19ea60d3115152ecc457ab9dc952e;hb=a74726581355bf8dfa748f340e0632993e2328ed;hp=8515182c427738121625f96b88d63ba5eec5d45c;hpb=e29efc315df33d546237e270470916e26df391d6;p=osm%2FUI.git diff --git a/skyquake/plugins/composer/src/src/components/ComposerAppToolbar.js b/skyquake/plugins/composer/src/src/components/ComposerAppToolbar.js index 8515182c4..458e774c8 100644 --- a/skyquake/plugins/composer/src/src/components/ComposerAppToolbar.js +++ b/skyquake/plugins/composer/src/src/components/ComposerAppToolbar.js @@ -1,6 +1,6 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -142,8 +142,16 @@ const ComposerAppToolbar = React.createClass({ ); } const hasSelection = SelectionManager.getSelections().length > 0; + if(this.props.panelTabShown != 'descriptor') { + style.pointerEvents = 'none'; + } return (
+ { + (this.props.panelTabShown != 'descriptor') ? +
+ : null + } {(()=>{ if (this.props.isEditingNSD || this.props.isEditingVNFD) { return (