From 915666d827e5b75d06f08ebe11d02c9a3b6571a0 Mon Sep 17 00:00:00 2001 From: Matthew Penner Date: Wed, 6 Jan 2021 09:23:17 -0700 Subject: [PATCH] MountsContainer: add source, target, readOnly, and userMountable columns --- .../admin/mounts/MountsContainer.tsx | 48 ++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/resources/scripts/components/admin/mounts/MountsContainer.tsx b/resources/scripts/components/admin/mounts/MountsContainer.tsx index f1fa1dad2..a90ab976f 100644 --- a/resources/scripts/components/admin/mounts/MountsContainer.tsx +++ b/resources/scripts/components/admin/mounts/MountsContainer.tsx @@ -1,3 +1,4 @@ +import CopyOnClick from '@/components/elements/CopyOnClick'; import React, { useContext, useEffect, useState } from 'react'; import getMounts, { Context as MountsContext } from '@/api/admin/mounts/getMounts'; import FlashMessageRender from '@/components/FlashMessageRender'; @@ -91,6 +92,10 @@ const MountsContainer = () => { + + + + @@ -101,12 +106,53 @@ const MountsContainer = () => { - {mount.id} + + + {mount.id} + + + {mount.name} + + + + {mount.source} + + + + + + {mount.target} + + + + + { mount.readOnly ? + + Read Only + + : + + Writable + + } + + + + { mount.userMountable ? + + Mountable + + : + + Admin Only + + } + )) }