Skip to content

Commit

Permalink
Merge pull request #1 from mbabai/patch-1
Browse files Browse the repository at this point in the history
Update EmbedDashboard.tsx
  • Loading branch information
russlooker authored May 7, 2020
2 parents b035da1 + c6926ea commit b69efc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Embed/EmbedDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const EmbedDashboard: React.FC<EmbedProps> = () => {
const [running, setRunning] = React.useState(true)
const [dashboard, setDashboard] = React.useState<LookerEmbedDashboard>()
const extensionContext = useContext<ExtensionContextData>(ExtensionContext)
const filters = {0:'Texas',1:'California',2:'Florida',3:'Ohio'}
const filters = {0:'Login_Login',1:'FT_UPI',2:'FT_Mobile',3:'FT_MMID',4:'FT_Account',5:'FA_UPI'}


React.useEffect(() => {
Expand Down Expand Up @@ -52,7 +52,7 @@ export const EmbedDashboard: React.FC<EmbedProps> = () => {
if (el && hostUrl) {
el.innerHTML = ''
LookerEmbedSDK.init(hostUrl)
const db = LookerEmbedSDK.createDashboardWithId(3)
const db = LookerEmbedSDK.createDashboardWithId(4)
// db.withNext()
db.appendTo(el)
.build()
Expand Down

1 comment on commit b69efc7

@russlooker
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep

Please sign in to comment.