diff options
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/src/components/System/Shares/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/src/components/System/Shares/index.js b/src/web/src/components/System/Shares/index.js index 5fe59cb2..53018b45 100644 --- a/src/web/src/components/System/Shares/index.js +++ b/src/web/src/components/System/Shares/index.js @@ -4,6 +4,7 @@ import { toast } from 'react-toastify'; import * as sharesLib from '../../../lib/shares'; import { LoaderSegment, + PlaceholderSegment, ShrinkableButton, Switch, } from '../../Shared'; @@ -64,6 +65,12 @@ const Index = ({ state = {} } = {}) => { <Divider/> <Switch filling={(loading || filling) && <LoaderSegment caption={fillProgress}/>} + empty={shared.length === 0 && + <PlaceholderSegment + icon='share external' + caption='No shares configured' + size='small' + />} > <ShareTable shares={shared} onClick={setModal}/> <ExclusionTable exclusions={excluded}/> |
