Skip to content

Commit

Permalink
Merge pull request #419 from alercebroker/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
dirodriguezm authored Apr 19, 2024
2 parents 3703c60 + fd3e95c commit 6b81482
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 @@ -69,7 +69,7 @@ export default class CardLightCurve extends Vue {
if (event.detail.successful) {
this.error = ''
this.isLoading = false
this.height = '50vh'
this.height = '100%'
this.onIsDarkChange(this.isDark)
}
})
Expand All @@ -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 6b81482

Please sign in to comment.