Skip to content

Commit

Permalink
Fix #83 - Link as-set members to query pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Nov 22, 2022
1 parent 8de1d4a commit 38fade3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/asSetQuery.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import AsSetIncludedTable from "./common/asSetIncludedTable";
import AsSetExpansionTable from "./common/asSetExpansionTable";
import AsSetExpansionTable from "./setExpansionTable/asSetExpansionTable";

class AsSetQuery extends Component {
render() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React, {Component} from 'react';
import PropTypes from 'prop-types';

import api from "../../services/api";
import Spinner from "./spinner";
import Spinner from "../common/spinner";
import {Link} from "@reach/router";
import TableFooter from "./tableFooter";
import TableFooter from "../common/tableFooter";


class AsSetExpansionTable extends Component {
Expand Down Expand Up @@ -62,11 +62,13 @@ class AsSetExpansionTable extends Component {
<td key="source">{source}</td>
<td key="depth">{depth}</td>
<td key="path">{path.join(' ➜ ')}</td>
<td key="members">{members.join(' ')}</td>
<td key="members">{members.map(
name => <><Link to={`/query/${name}`}>{name}</Link>{" "}</>
)}</td>
</tr>
)}
</tbody>
<TableFooter url={apiCallUrl} />
<TableFooter url={apiCallUrl}/>
</>
);
}
Expand Down

0 comments on commit 38fade3

Please sign in to comment.