Merge branch 'stable-3.0'
Change-Id: I2b520e1cc86d7a42db4410355283a87fa6e725b8
This commit is contained in:
@@ -198,12 +198,13 @@ limitations under the License.
|
||||
<gr-endpoint-decorator name="footer-left"></gr-endpoint-decorator>
|
||||
</div>
|
||||
<div>
|
||||
<a class="feedback"
|
||||
href$="[[_feedbackUrl]]"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
hidden$="[[!_showFeedbackUrl(_feedbackUrl)]]">Report bug</a>
|
||||
| Press “?” for keyboard shortcuts
|
||||
<template is="dom-if" if="[[_feedbackUrl]]">
|
||||
<a class="feedback"
|
||||
href$="[[_feedbackUrl]]"
|
||||
rel="noopener"
|
||||
target="_blank">Report bug</a> |
|
||||
</template>
|
||||
Press “?” for keyboard shortcuts
|
||||
<gr-endpoint-decorator name="footer-right"></gr-endpoint-decorator>
|
||||
</div>
|
||||
</footer>
|
||||
|
@@ -435,7 +435,9 @@
|
||||
if (window.VERSION_INFO) {
|
||||
console.log(`UI Version Info: ${window.VERSION_INFO}`);
|
||||
}
|
||||
console.log(`Please file bugs and feedback at: ${this._feedbackUrl}`);
|
||||
if (this._feedbackUrl) {
|
||||
console.log(`Please file bugs and feedback at: ${this._feedbackUrl}`);
|
||||
}
|
||||
console.groupEnd();
|
||||
},
|
||||
|
||||
@@ -453,14 +455,6 @@
|
||||
this.mobileSearch = !this.mobileSearch;
|
||||
},
|
||||
|
||||
_showFeedbackUrl(feedbackUrl) {
|
||||
if (feedbackUrl) {
|
||||
return feedbackUrl;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
getThemeEndpoint() {
|
||||
// For now, we only have dark mode and light mode
|
||||
return window.localStorage.getItem('dark-theme') ?
|
||||
|
Reference in New Issue
Block a user