Merge "Put robot comment actions inside a dom-if template"

This commit is contained in:
Wyatt Allen
2018-02-21 01:45:56 +00:00
committed by Gerrit Code Review

View File

@@ -309,15 +309,17 @@ limitations under the License.
</div> </div>
</div> </div>
<div class="actions robotActions" hidden$="[[!_showRobotActions]]"> <div class="actions robotActions" hidden$="[[!_showRobotActions]]">
<gr-endpoint-decorator name="robot-comment-controls"> <template is="dom-if" if="[[isRobotComment]]">
<gr-endpoint-param name="comment" value="[[comment]]"> <gr-endpoint-decorator name="robot-comment-controls">
</gr-endpoint-param> <gr-endpoint-param name="comment" value="[[comment]]">
</gr-endpoint-decorator> </gr-endpoint-param>
<gr-button link class="action fix" </gr-endpoint-decorator>
on-tap="_handleFix" <gr-button link class="action fix"
disabled="[[robotButtonDisabled]]"> on-tap="_handleFix"
Please Fix disabled="[[robotButtonDisabled]]">
</gr-button> Please Fix
</gr-button>
</template>
</div> </div>
</div> </div>
</div> </div>