From 949bb74add770d988b766ebd68a5431eefb032ed Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Tue, 17 Mar 2020 16:53:12 +1000 Subject: [PATCH] FIX: Add basePath to link for "no timezone" in bookmark modal --- app/assets/javascripts/discourse/controllers/bookmark.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/javascripts/discourse/controllers/bookmark.js b/app/assets/javascripts/discourse/controllers/bookmark.js index 0a8ba8a063f..375a9a53412 100644 --- a/app/assets/javascripts/discourse/controllers/bookmark.js +++ b/app/assets/javascripts/discourse/controllers/bookmark.js @@ -169,6 +169,11 @@ export default Controller.extend(ModalFunctionality, { ); }, + @discourseComputed() + basePath() { + return Discourse.BaseUri; + }, + @discourseComputed() userHasTimezoneSet() { return !_.isEmpty(this.userTimezone());