Skip to content

Commit

Permalink
Update EmbedDashboard.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabai authored May 7, 2020
1 parent b035da1 commit c6926ea
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

0 comments on commit c6926ea

Please sign in to comment.