Skip to content

Commit

Permalink
add oengus line type OTHER
Browse files Browse the repository at this point in the history
  • Loading branch information
cma2819 committed Feb 15, 2022
1 parent 1330271 commit fac15fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundles/admin/scheduleImport/scheduleImportCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import HTTPUtil from '../../public/util/http';
import Endpoints from '../../tracker/Endpoints';
import _ from 'lodash';
import { EventModel } from './scheduleImport';
import { OengusOtherLine } from 'oengus-api/dist/types';

type Props = {
event: EventModel;
Expand All @@ -16,7 +17,7 @@ export const ScheduleImportCore = ({ event, schedule }: Props) => {
const [process, setProcess] = useState<'before' | 'runners' | 'schedules' | 'done'>('before');
const [imported, setImported] = useState<number>(0);

const makeRun = (line: OengusRunLine | OengusSetupLine, index: number): Run => {
const makeRun = (line: OengusRunLine | OengusSetupLine | OengusOtherLine, index: number): Run => {
return {
pk: -1,
model: 'tracker.speedrun',
Expand Down

0 comments on commit fac15fa

Please sign in to comment.