mirror of
https://github.com/wekan/wekan.git
synced 2026-02-06 16:41:48 +01:00
Fix lint errors.
This commit is contained in:
parent
2cc3507740
commit
8898862d36
10 changed files with 68 additions and 114 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { Cookies } from 'meteor/ostrio:cookies';
|
||||
const cookies = new Cookies();
|
||||
Sidebar = null;
|
||||
|
||||
const defaultView = 'home';
|
||||
|
|
@ -111,8 +113,6 @@ BlazeComponent.extendComponent({
|
|||
if (currentUser) {
|
||||
Meteor.call('toggleMinicardLabelText');
|
||||
} else {
|
||||
import { Cookies } from 'meteor/ostrio:cookies';
|
||||
const cookies = new Cookies();
|
||||
if (cookies.has('hiddenMinicardLabelText')) {
|
||||
cookies.remove('hiddenMinicardLabelText');
|
||||
} else {
|
||||
|
|
@ -136,8 +136,6 @@ Template.homeSidebar.helpers({
|
|||
if (currentUser) {
|
||||
return (currentUser.profile || {}).hiddenMinicardLabelText;
|
||||
} else {
|
||||
import { Cookies } from 'meteor/ostrio:cookies';
|
||||
const cookies = new Cookies();
|
||||
if (cookies.has('hiddenMinicardLabelText')) {
|
||||
return true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue