Fix the tabActive for the content tab since we assert the selected tab on render
This commit is contained in:
parent
1f213a890a
commit
86ff3c9b79
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ export class PlayerSheet extends
|
||||||
async _prepareContent(ctx) {
|
async _prepareContent(ctx) {
|
||||||
// Whether or not the prose-mirror is toggled or always-edit
|
// Whether or not the prose-mirror is toggled or always-edit
|
||||||
ctx.toggled = true;
|
ctx.toggled = true;
|
||||||
ctx.tabActive = this.tabGroups.primary === `content` || this.actor.items.size === 0;
|
ctx.tabActive = this.tabGroups.primary === `content`;
|
||||||
|
|
||||||
ctx.enriched = {
|
ctx.enriched = {
|
||||||
system: {
|
system: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue