Ensure the history site base is defined before adding the link button
This commit is contained in:
parent
02644bb510
commit
a8ea86bf29
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ export default {
|
||||||
components: [],
|
components: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (extra_buttons.includes(`historyLink`)) {
|
if (extra_buttons.includes(`historyLink`) && config.server.history_site_base) {
|
||||||
actionRow.components.push(historyLinkButton(gID));
|
actionRow.components.push(historyLinkButton(gID));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue