Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskikutis committed Dec 13, 2024
1 parent d0803e2 commit 0e8f972
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import {IAgenda} from 'interfaces';
import {IAgenda} from '../../../interfaces';
import {IDropdownConfigManualSource, IAuthoringFieldV2} from 'superdesk-api';
import {planningApi} from 'superdeskApi';
import {gettext} from 'utils';
import {planningApi, superdeskApi} from '../../../superdeskApi';
import {IFieldDefinition} from './interfaces';

export const getAgendasField = (): IFieldDefinition => ({
fieldId: 'agendas',
getField: ({id, required}) => {
const {gettext} = superdeskApi.localization;

const fieldConfig: IDropdownConfigManualSource = {
source: 'manual-entry',
options: ((planningApi.redux.store.getState().agenda.agendas ?? []) as Array<IAgenda>)
Expand Down

0 comments on commit 0e8f972

Please sign in to comment.