Skip to content

Commit

Permalink
fix: lightcurve component id changed in remote service
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Apr 10, 2024
1 parent 3703c60 commit 9b07696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/cardLightCurve.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</v-alert>
</v-card-text>
</v-card>
<v-card id="lightcurve-container" width="100%" :height="height"> </v-card>
<v-card id="lightcurve-app" width="100%" :height="height"> </v-card>
</v-card>
</v-col>
</template>
Expand Down Expand Up @@ -80,7 +80,7 @@ export default class CardLightCurve extends Vue {
_loadHtmx(objectId) {
const url = `${this.$config.ztfApiv2Url}/lightcurve/htmx/lightcurve?oid=${objectId}`
const myDiv = document.getElementById('lightcurve-container')
const myDiv = document.getElementById('lightcurve-app')
if (myDiv) {
myDiv.innerHTML = `<div hx-get=${url} hx-trigger="updateLightcurve from:body" hx-swap="outerHTML"></div>`
htmx.process(myDiv)
Expand Down

0 comments on commit 9b07696

Please sign in to comment.