Merge "Add slash between options in message-list"

This commit is contained in:
Wyatt Allen
2016-11-19 00:54:56 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 5 deletions

View File

@@ -48,11 +48,15 @@ limitations under the License.
on-tap="_handleExpandCollapseTap">
[[_computeExpandCollapseMessage(_expanded)]]
</gr-button>
<gr-button id="automatedMessageToggle" link
on-tap="_handleAutomatedMessageToggleTap"
<div
id="automatedMessageToggleContainer"
hidden$="[[!_hasAutomatedMessages(messages)]]">
[[_computeAutomatedToggleText(_hideAutomated)]]
</gr-button>
/
<gr-button id="automatedMessageToggle" link
on-tap="_handleAutomatedMessageToggleTap">
[[_computeAutomatedToggleText(_hideAutomated)]]
</gr-button>
</div>
</div>
</div>
<template

View File

@@ -88,7 +88,7 @@ limitations under the License.
test('hide messages does not appear when no automated messages',
function() {
assert.isOk(element.$$('#automatedMessageToggle[hidden]'));
assert.isOk(element.$$('#automatedMessageToggleContainer[hidden]'));
});
test('scroll to message', function() {