mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Replace Picker for community packages version & small
This commit is contained in:
parent
4ba2a23c72
commit
eb745106d8
7 changed files with 11 additions and 10 deletions
|
@ -1,7 +1,9 @@
|
|||
import { Meteor } from 'meteor/meteor';
|
||||
import { Picker } from 'meteor/communitypackages:picker';
|
||||
|
||||
// Sandstorm context is detected using the METEOR_SETTINGS environment variable
|
||||
// in the package definition.
|
||||
const isSandstorm =
|
||||
Meteor.settings && Meteor.settings.public && Meteor.settings.public.sandstorm;
|
||||
const isSandstorm = Meteor.settings?.public?.sandstorm;
|
||||
|
||||
// In sandstorm we only have one board per sandstorm instance. Since we want to
|
||||
// keep most of our code unchanged, we simply hard-code a board `_id` and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue