0
0
Fork 0

Ensure the history site base is defined before adding the link button

This commit is contained in:
Oliver-Akins 2021-09-30 12:37:09 -06:00
parent 02644bb510
commit a8ea86bf29

View file

@ -136,7 +136,7 @@ export default {
components: [],
};
if (extra_buttons.includes(`historyLink`)) {
if (extra_buttons.includes(`historyLink`) && config.server.history_site_base) {
actionRow.components.push(historyLinkButton(gID));
};