Merge branch 'master' into ai/issue-42
All checks were successful
Test / test (push) Successful in 2s
All checks were successful
Test / test (push) Successful in 2s
This commit is contained in:
@@ -219,9 +219,11 @@ async function fetchCampaignEntries(entityType = activeSection.value, silent = f
|
||||
function selectSection(section) {
|
||||
activeSection.value = section;
|
||||
if (isEntrySection(section)) fetchCampaignEntries(section);
|
||||
// The content area follows the sidebar: maps shows the anchored map, everything else the
|
||||
// notes that are currently open.
|
||||
SetActivePane(section === 'maps' && AnchoredMap.value ? 'map' : 'notes');
|
||||
// Only the notes and maps buttons say something about the note container: they switch it between
|
||||
// the notes that are open and the anchored map. Actors and items open windows of their own, so
|
||||
// their buttons leave whatever the note container was showing untouched.
|
||||
if (section === 'notes') SetActivePane('notes');
|
||||
else if (section === 'maps' && AnchoredMap.value) SetActivePane('map');
|
||||
}
|
||||
|
||||
function createEntry(entityType) {
|
||||
|
||||
Reference in New Issue
Block a user