Selaa lähdekoodia

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

Vincent 1 vuosi sitten
vanhempi
commit
14613671bd
3 muutettua tiedostoa jossa 0 lisäystä ja 8 poistoa
  1. 0 2
      components/News/List.client.vue
  2. 0 3
      models/Maestro/JobPosting.ts
  3. 0 3
      models/Maestro/News.ts

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

@@ -108,8 +108,6 @@ const query: ComputedRef<Record<string, string | number>> = computed(() => {
   return {
   return {
     page: page.value,
     page: page.value,
     type: 'BUSINESS',
     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)
   @Bool(false)
   declare clientOpentalent: boolean
   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([])
   @Attr([])
   declare tags: string[]
   declare tags: string[]
 
 
-  @Bool(false)
-  declare visible: boolean
-
   @Str(null)
   @Str(null)
   declare linkButton: string
   declare linkButton: string
 }
 }