Remove default bug tracker from _feedbackUrl
Bug: Issue 11216 Change-Id: I5cd33d8f74118a0e9b3c96a3bce949092181cc45
This commit is contained in:
@@ -196,7 +196,9 @@ limitations under the License.
|
||||
<div>
|
||||
<a class="feedback"
|
||||
href$="[[_feedbackUrl]]"
|
||||
rel="noopener" target="_blank">Report bug</a>
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
hidden$="[[!_showFeedbackUrl(_feedbackUrl)]]">Report bug</a>
|
||||
| Press “?” for keyboard shortcuts
|
||||
<gr-endpoint-decorator name="footer-right"></gr-endpoint-decorator>
|
||||
</div>
|
||||
|
||||
@@ -78,11 +78,7 @@
|
||||
computed: '_computePluginScreenName(params)',
|
||||
},
|
||||
_settingsUrl: String,
|
||||
_feedbackUrl: {
|
||||
type: String,
|
||||
value: 'https://bugs.chromium.org/p/gerrit/issues/entry' +
|
||||
'?template=PolyGerrit%20Issue',
|
||||
},
|
||||
_feedbackUrl: String,
|
||||
// Used to allow searching on mobile
|
||||
mobileSearch: {
|
||||
type: Boolean,
|
||||
@@ -441,5 +437,13 @@
|
||||
_mobileSearchToggle(e) {
|
||||
this.mobileSearch = !this.mobileSearch;
|
||||
},
|
||||
|
||||
_showFeedbackUrl(feedbackUrl) {
|
||||
if (feedbackUrl) {
|
||||
return feedbackUrl;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user