Click here to view the list of all courses.
+View the list of all courses.
{!!user && !!classes.length && !!classes.filter(byTeaching).length && <> diff --git a/webclient/src/Home.js b/webclient/src/Home.js index 14ad62d..547bd47 100644 --- a/webclient/src/Home.js +++ b/webclient/src/Home.js @@ -8,6 +8,7 @@ import { statusColor, BasicTable, siteUrl, staticUrl, requester, isAdmin } from import { LoginForm, SignupForm } from './LoginSignup.js'; import { AccountForm } from './Account.js'; import { SignForm } from './Sign.js'; +import { StorageButton } from './Storage.js'; import { PayPalSubscribeDeal } from './PayPal.js'; function MemberInfo(props) { @@ -21,11 +22,6 @@ function MemberInfo(props) { const unpaidTraining = user.training?.filter(x => x.attendance_status === 'Waiting for payment'); - const handleStorageButton = (e, id) => { - e.preventDefault(); - history.push('/storage/' + id); - }; - return (View the list of all storage locations.
+
+
+
+
{x.shelf_id} - {!!x.member_id && - {x.member_name} - }
- ) +Loading...
: @@ -241,6 +292,18 @@ export function StorageList(props) { ); }; +export function Storage(props) { + const { token, user } = props; + + return ( +