Skip to content

Commit

Permalink
Updated README and docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
magicsunday committed Dec 13, 2021
1 parent e6d4d61 commit be82c05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ on ``Charts`` (in subsection Genealogy). Enable the ``Descendants chart`` custom
installed descendants chart module) and save your settings.

![Control panel - Module administration](assets/control-panel-modules.png)
*Fig. 2: Control panel - Module administration*


## Usage
At the charts' menu, you will find a new link called `Descendants chart`. Use the provided configuration options
to adjust the layout of the charts according to your needs.

Right-clicking on an individual opens a tooltip providing more detailed information of the current individual.


## Development
To build/update the javascript, run the following commands:
Expand Down
4 changes: 3 additions & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ private function buildJsonTree(?Individual $individual, int $generation = 1): ar
return [];
}

$data = $this->getIndividualData($individual, $generation);
$data = $this->getIndividualData($individual, $generation);

/** @var null|Family $family */
$families = $individual->spouseFamilies();

if (!$families->count()) {
Expand Down

0 comments on commit be82c05

Please sign in to comment.