Skip to content

Commit

Permalink
Fix import on TableSettings page (metabase#8829)
Browse files Browse the repository at this point in the history
* fix import

* clean up nav
  • Loading branch information
kdoh authored Oct 31, 2018
1 parent e3c211f commit a657ce3
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ import { getMetadata } from "metabase/selectors/metadata";
import { t } from "c-3po";
import Breadcrumbs from "metabase/components/Breadcrumbs";
import LoadingAndErrorWrapper from "metabase/components/LoadingAndErrorWrapper";
import {
BackButton,
Section,
SectionHeader,
} from "metabase/admin/datamodel/containers/FieldApp";
import { BackButton } from "metabase/admin/datamodel/containers/FieldApp";
import ActionButton from "metabase/components/ActionButton.jsx";
import Section, { SectionHeader } from "../components/Section";

import { rescanTableFieldValues, discardTableFieldValues } from "../table";

Expand Down Expand Up @@ -78,9 +75,9 @@ class Nav extends Component {
render() {
const { db, table } = this.props;
return (
<div>
<div className="flex align-center my2">
<BackButton databaseId={db.id} tableId={table.id} />
<div className="my4 py1 ml-auto mr-auto">
<div className="my4 py1 ml2">
<Breadcrumbs
crumbs={[
db && [db.name, `/admin/datamodel/database/${db.id}`],
Expand Down

0 comments on commit a657ce3

Please sign in to comment.