mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
infinite scroll
This commit is contained in:
@@ -37,7 +37,7 @@ class LibraryItemObserver
|
||||
|
||||
if ($libraryItem->type !== 'markdown_article') {
|
||||
|
||||
if ($libraryItem->doesntHave('libraries', fn($query) => $query->where('is_public', false))
|
||||
if ($libraryItem->whereDoesntHave('libraries', fn($query) => $query->where('libraries.is_public', false))
|
||||
->exists()) {
|
||||
$text = sprintf("Es gibt was Neues zum Lesen oder Anhören:\n\n%s\n\n%s\n\n#Bitcoin #Wissen #Einundzwanzig #gesundesgeld",
|
||||
$libraryItemName,
|
||||
|
||||
Reference in New Issue
Block a user