File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ const blueskyOAuthCallbackEventName = `blueskyOAuthCallback-${props.model.accoun
135135const 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
142142onMounted (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 >
You can’t perform that action at this time.
0 commit comments