Initial check in; All but the history pages working.

This commit is contained in:
2022-09-07 08:58:00 -07:00
commit d6bd620207
109 changed files with 13170 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import { Meteor } from 'meteor/meteor';
import React, {lazy, Suspense, useState} from 'react';
import { useTracker } from 'meteor/react-meteor-data';
import _ from 'lodash';
import TabNav from '../util/TabNav';
export default () => {
let tabs = [
{
title: "By Person",
getElement: () => {
const ByPerson = lazy(()=>import('./Assignments/ByPerson'))
return <ByPerson/>
},
path: '/byPerson',
href: 'byPerson'
},
{
title: "By Asset",
getElement: () => {
const ByAsset = lazy(()=>import('./Assignments/ByAsset'))
return <ByAsset/>
},
path: '/byAsset',
href: 'byAsset'
},
]
return <TabNav tabs={tabs}/>
}