Skip to content
Snippets Groups Projects
Unverified Commit 2a0d4a82 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

show non table names (#23216)

parent 9e92eb6f
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,7 @@ export default class DimensionOptions {
sections({ extraItems = [] } = {}): DimensionOptionsSection[] {
const [dimension] = this.dimensions;
const table = dimension && dimension.field().table;
const tableName =
table && !table.isSavedQuestion() ? table.objectName() : null;
const tableName = table ? table.objectName() : null;
const mainSection: DimensionOptionsSection = {
name: this.name || tableName,
icon: this.icon || "table2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment