Skip to content

Commit

Permalink
Added names to buff and func search
Browse files Browse the repository at this point in the history
  • Loading branch information
squaresmile committed Sep 21, 2024
1 parent c3baced commit a791862
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/db/src/Page/BuffsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ class BuffsPage extends React.Component<IProps, IState> {
<tr>
<th>#</th>
<th>{t("Buff")}</th>
<th>{t("Name")}</th>
<th>{t("Usage Count")}</th>
</tr>
</thead>
Expand All @@ -196,6 +197,7 @@ class BuffsPage extends React.Component<IProps, IState> {
<td>
<BuffDescription region={this.props.region} buff={buff} />
</td>
<td lang={lang(this.props.region)}>{buff.name}</td>
<td>{(buff.reverse?.basic?.function ?? []).length}</td>
</tr>
);
Expand Down
4 changes: 4 additions & 0 deletions packages/db/src/Page/FuncsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class FuncsPage extends React.Component<IProps, IState> {
<tr>
<th>#</th>
<th>{t("Function")}</th>
<th>{t("Popup Text")}</th>
<th>{t("Usage Count")}</th>
</tr>
</thead>
Expand All @@ -205,6 +206,9 @@ class FuncsPage extends React.Component<IProps, IState> {
<td>
<FuncDescriptor region={this.props.region} func={func} />
</td>
<td>
<span lang={lang(this.props.region)}>{func.funcPopupText}</span>
</td>
<td>
{(func.reverse?.basic?.NP ?? []).length + (func.reverse?.basic?.skill ?? []).length}
</td>
Expand Down

0 comments on commit a791862

Please sign in to comment.