Skip to content

Commit

Permalink
UBER-320: Fix companies filter (#3292)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
  • Loading branch information
haiodo authored and BykhovDenis committed May 31, 2023
1 parent 882d881 commit e57aca4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions models/recruit/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,10 @@ export function createModel (builder: Builder): void {
filters: []
})

builder.mixin(recruit.mixin.VacancyList, core.class.Class, view.mixin.ClassFilters, {
filters: []
})

createReviewModel(builder)

createAction(builder, {
Expand Down
8 changes: 4 additions & 4 deletions plugins/recruit-resources/src/components/Organizations.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
import core, { Doc, DocumentQuery, Ref } from '@hcengineering/core'
import { createQuery, getClient } from '@hcengineering/presentation'
import { Applicant, Vacancy } from '@hcengineering/recruit'
import { Button, Label, Loading, SearchEdit, showPopup, IconAdd } from '@hcengineering/ui'
import { Button, IconAdd, Label, Loading, SearchEdit, showPopup } from '@hcengineering/ui'
import view, { BuildModelKey, Viewlet, ViewletPreference } from '@hcengineering/view'
import {
FilterBar,
FilterButton,
getViewOptions,
setActiveViewletId,
TableBrowser,
ViewletSettingButton,
getViewOptions,
setActiveViewletId,
viewOptionStore
} from '@hcengineering/view-resources'
import recruit from '../plugin'
Expand Down Expand Up @@ -239,7 +239,7 @@
<SearchEdit bind:value={search} on:change={(e) => (search = e.detail)} />
<!-- <ActionIcon icon={IconMoreH} size={'small'} /> -->
<div class="buttons-divider" />
<FilterButton _class={recruit.class.Vacancy} />
<FilterButton _class={recruit.mixin.VacancyList} />
</div>
<div class="ac-header-full medium-gap">
<ViewletSettingButton bind:viewOptions viewlet={descr} />
Expand Down

0 comments on commit e57aca4

Please sign in to comment.