Skip to content

Commit

Permalink
switch div to template, to remove an unneeded level
Browse files Browse the repository at this point in the history
  • Loading branch information
sagerb committed Jan 14, 2025
1 parent e1c920e commit 158ded1
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@
:context-menu="contextMenuVSCodeContext"
/>
</div>
<div v-if="isAbortedContentRecord" class="date-time">
{{ formatDateString(home.selectedContentRecord.abortedAt) }}
</div>
<div v-else>
<template v-if="isAbortedContentRecord">
<div class="date-time">
{{ formatDateString(home.selectedContentRecord.abortedAt) }}
</div>
</template>
<template v-else>
<div v-if="isPreContentRecordWithoutID">
Is this already deployed to a Connect server? You can
<a class="webview-link" role="button" @click="onAssociateDeployment"
Expand Down Expand Up @@ -199,7 +201,7 @@
@click="onErrorMessageAnchorClick"
/>
</div>
</div>
</template>
<div
v-if="!isPreContentRecord(home.selectedContentRecord)"
class="last-deployment-details"
Expand Down

0 comments on commit 158ded1

Please sign in to comment.