Update repo url
This commit is contained in:
+2
-1
@@ -76,11 +76,12 @@ public class BookMetadataUpdater {
|
||||
|
||||
boolean thumbnailRequiresUpdate = StringUtils.hasText(newMetadata.getThumbnailUrl());
|
||||
boolean hasMetadataChanges = MetadataChangeDetector.isDifferent(newMetadata, metadata, clearFlags);
|
||||
boolean hasValueChanges = MetadataChangeDetector.hasValueChanges(newMetadata, metadata, clearFlags);
|
||||
if (!thumbnailRequiresUpdate && !hasMetadataChanges) {
|
||||
log.info("No changes in metadata for book ID {}. Skipping update.", bookId);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// If all fields are locked we must allow unlocking, hasValueChanges will be false
|
||||
if (metadata.areAllFieldsLocked() && hasValueChanges) {
|
||||
log.warn("All fields are locked for book ID {}. Skipping update.", bookId);
|
||||
|
||||
@@ -217,8 +217,8 @@ export class AppMenuComponent implements OnInit {
|
||||
getVersionUrl(version: string | undefined): string {
|
||||
if (!version) return '#';
|
||||
return version.startsWith('v')
|
||||
? `https://github.com/adityachandelgit/BookLore/releases/tag/${version}`
|
||||
: `https://github.com/adityachandelgit/BookLore/commit/${version}`;
|
||||
? `https://github.com/booklore-app/booklore/releases/tag/${version}`
|
||||
: `https://github.com/booklore-app/booklore/commit/${version}`;
|
||||
}
|
||||
|
||||
private sortArray<T>(array: T[], field: 'name' | 'id', order: 'asc' | 'desc'): T[] {
|
||||
|
||||
Reference in New Issue
Block a user