Skip to content

Commit

Permalink
fix(App): Fix todos to be on top of other services
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Mar 22, 2022
1 parent 2f22ce6 commit 086eda1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/features/todos/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class TodoStore extends FeatureStore {
}

@computed get isFeatureEnabledByUser() {
return this.settings.isFeatureEnabledByUser;
return true;
}

@computed get settings() {
Expand Down Expand Up @@ -185,9 +185,9 @@ export default class TodoStore extends FeatureStore {
@action _toggleTodosFeatureVisibility = () => {
debug('_toggleTodosFeatureVisibility');

this._updateSettings({
isFeatureEnabledByUser: !this.settings.isFeatureEnabledByUser,
});
// this._updateSettings({
// isFeatureEnabledByUser: !this.settings.isFeatureEnabledByUser,
// });
};

_toggleDevTools = () => {
Expand Down

0 comments on commit 086eda1

Please sign in to comment.