Skip to content

Commit 6e1d888

Browse files
authored
Merge branch 'main' into 514-guest-view-manager-call
2 parents 48cde60 + 99225cd commit 6e1d888

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/renderer/src/views/x/XWizardMigrateBluesky.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ const blueskyOAuthCallbackEventName = `blueskyOAuthCallback-${props.model.accoun
135135
const isArchiveOld = computed(() => {
136136
// The date before media was added to the Cyd archive, February 18, 2025
137137
const oldDate = new Date('2025-02-18T00:00:00Z');
138-
return (lastImportArchive.value == null || lastImportArchive.value < oldDate) &&
139-
(lastBuildDatabase.value == null || lastBuildDatabase.value < oldDate);
138+
return (lastImportArchive.value === null || lastImportArchive.value < oldDate) &&
139+
(lastBuildDatabase.value === null || lastBuildDatabase.value < oldDate);
140140
});
141141
142142
onMounted(async () => {
@@ -184,7 +184,7 @@ onUnmounted(async () => {
184184
old tweets.
185185
</p>
186186

187-
<div v-if="isArchiveOld" class="alert alert-warning">
187+
<div v-if="isArchiveOld && hasSomeData" class="alert alert-warning">
188188
<p>
189189
<strong>
190190
We recommend that you reimport your local database of tweets, or rebuild it from scratch,
@@ -362,4 +362,4 @@ onUnmounted(async () => {
362362
.col-40 {
363363
width: 40%;
364364
}
365-
</style>
365+
</style>

0 commit comments

Comments
 (0)