fixed slider filter

This commit is contained in:
Umar Adilov 2025-12-17 14:55:02 +05:00
parent d33a4d941a
commit 82121bac91
2 changed files with 3 additions and 2 deletions

View File

@ -96,6 +96,7 @@ export async function fetchAboutUsPageContent(): Promise<AboutUsPageData> {
taylorQueryBuilder taylorQueryBuilder
.selectFrom('azs') .selectFrom('azs')
.selectAll() .selectAll()
.where('foto', 'isNotEmpty')
.with({ .with({
foto: (qb) => qb.selectAll(), foto: (qb) => qb.selectAll(),
}), }),

View File

@ -258,7 +258,7 @@ export type LinkColumnType<
export type AttachmentColumnType<R extends boolean> = ALinkColumnType< export type AttachmentColumnType<R extends boolean> = ALinkColumnType<
'attachmentTable', 'attachmentTable',
AttachmentColumnValue[], Attachment[],
Attachment[] | { newIds: number[]; deletedIds: number[] } | number[], Attachment[] | { newIds: number[]; deletedIds: number[] } | number[],
Attachment[] | number[], Attachment[] | number[],
R R
@ -485,7 +485,7 @@ type KomandaTable = {
zvanie: TextColumnType<false>; zvanie: TextColumnType<false>;
}; };
export const OtzyvyStatusOptions = ['Опубликовано'] as const; export const OtzyvyStatusOptions = ['Опубликовано', 'Не публиковать'] as const;
type OtzyvyTable = { type OtzyvyTable = {
id: NumberColumnType<false>; id: NumberColumnType<false>;