remove TODO

This commit is contained in:
Kane York 2015-09-01 16:52:29 -07:00
parent d7a79aeb8a
commit 8b37dadec7
2 changed files with 2 additions and 4 deletions

View File

@ -17,6 +17,8 @@ export default {
keyValueStore = container.lookup('key-value-store:main'),
user = container.lookup('current-user:main');
screenTrack.set('keyValueStore', keyValueStore);
// Preconditions
if (user) return; // must not be logged in
@ -27,8 +29,6 @@ export default {
if (siteSettings.login_required) return;
if (!siteSettings.enable_signup_cta) return;
screenTrack.set('keyValueStore', keyValueStore);
function checkSignupCtaRequirements() {
if (session.get('showSignupCta')) {
return; // already shown

View File

@ -10,8 +10,6 @@ const ScreenTrack = Ember.Object.extend({
init() {
this.reset();
// TODO fix this
this.set('keyValueStore', Discourse.__container__.lookup('key-value-store:main'));
},
start(topicId, topicController) {