Commit 18dbf946 authored by Anastasiia N's avatar Anastasiia N Committed by Chromium LUCI CQ

Fix display of gaia buttons in add account flow

Add enableGaiaActionButtons_ parameter to shouldShowGaiaButtons_ call,
to update "hidden" property of the buttons when the flag is updated.

Bug: b/177064517
Change-Id: I46999193c2d7f42485b15053f9eff22964becb93
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2620799
Commit-Queue: Anastasiia N <anastasiian@chromium.org>
Reviewed-by: default avatarKush Sinha <sinhak@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842017}
parent 41896aab
......@@ -93,7 +93,8 @@
</cr-button>
<div class="action-buttons"
hidden$="[[!shouldShowGaiaButtons_(currentView_)]]">
hidden$="[[!shouldShowGaiaButtons_(enableGaiaActionButtons_,
currentView_)]]">
<gaia-action-buttons authenticator="[[authExtHost_]]">
</gaia-action-buttons>
</div>
......
......@@ -111,7 +111,10 @@ Polymer({
*/
isLoginPrimaryAccount_: false,
/** @private {boolean} */
/**
* TODO(crbug.com/1164862): cleanup this flag, since it's enabled by default.
* @private {boolean}
*/
enableGaiaActionButtons_: false,
/** @override */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment