Skip to content

Commit

Permalink
Fixes #13
Browse files Browse the repository at this point in the history
  • Loading branch information
HadaIonut committed Aug 31, 2021
1 parent cc8db34 commit 11cf6ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/MetricModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ const onRenderSideBar = (app, html) => {
const type = app?.options?.id;
if (batchCompendiumUpdaterMap[game.system.id][type])
batchCompendiumUpdaterMap[game.system.id][type](type === 'compendium' ? game.packs.keys() : game[type], type, button);
if (app?.options?.id !== 'combat' && app?.options?.id !== 'playlists' && !app?.options?.id.includes('popout'))
if (app?.options?.id !== 'combat' && app?.options?.id !== 'playlists' && !app?.options?.id.includes('popout')) {
html.find(".directory-footer").append(button);
html.find(".directory-footer").removeClass('action-buttons')
}

}

const addButton = (element, entity, type, html) => {
Expand Down

0 comments on commit 11cf6ae

Please sign in to comment.