Prechádzať zdrojové kódy

Merge tag 'fix-visibility-by-date' into develop

Vincent 1 rok pred
rodič
commit
14613671bd

+ 0 - 2
components/News/List.client.vue

@@ -108,8 +108,6 @@ const query: ComputedRef<Record<string, string | number>> = computed(() => {
   return {
     page: page.value,
     type: 'BUSINESS',
-    'startPublication[before]': 'now',
-    'endPublication[after]': 'now',
   }
 })
 

+ 0 - 3
models/Maestro/JobPosting.ts

@@ -59,7 +59,4 @@ export default class JobPosting extends ApiModel {
 
   @Bool(false)
   declare clientOpentalent: boolean
-
-  @Bool(false)
-  declare visible: boolean
 }

+ 0 - 3
models/Maestro/News.ts

@@ -69,9 +69,6 @@ export default class News extends ApiModel {
   @Attr([])
   declare tags: string[]
 
-  @Bool(false)
-  declare visible: boolean
-
   @Str(null)
   declare linkButton: string
 }