Fix: merge d'options sur token
This commit is contained in:
parent
45bfc69b39
commit
ffccc819f1
@ -9,7 +9,7 @@ export class RdDSheetUtility {
|
|||||||
: document.getUserLevel(game.user);
|
: document.getUserLevel(game.user);
|
||||||
mergeObject(options, {
|
mergeObject(options, {
|
||||||
isGM: game.user.isGM,
|
isGM: game.user.isGM,
|
||||||
isOwned: document.parent,
|
isOwned: document.parent ? true : false,
|
||||||
editable: editable,
|
editable: editable,
|
||||||
cssClass: editable ? "editable" : "locked",
|
cssClass: editable ? "editable" : "locked",
|
||||||
isLimited: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.LIMITED,
|
isLimited: userRightLevel >= CONST.DOCUMENT_OWNERSHIP_LEVELS.LIMITED,
|
||||||
|
Loading…
Reference in New Issue
Block a user