|
@@ -20,6 +20,7 @@ const ShareLinkList = (props) => {
|
|
|
props.onClickDeleteButton(shareLinkId);
|
|
props.onClickDeleteButton(shareLinkId);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ // TODO pagePath が null だった場合の管理画面の挙動は別途実装する
|
|
|
function renderShareLinks() {
|
|
function renderShareLinks() {
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
@@ -66,7 +67,7 @@ const ShareLinkListWrapper = withUnstatedContainers(ShareLinkList, [AppContainer
|
|
|
ShareLinkList.propTypes = {
|
|
ShareLinkList.propTypes = {
|
|
|
t: PropTypes.func.isRequired, // i18next
|
|
t: PropTypes.func.isRequired, // i18next
|
|
|
appContainer: PropTypes.instanceOf(AppContainer).isRequired,
|
|
appContainer: PropTypes.instanceOf(AppContainer).isRequired,
|
|
|
- pagePath: PropTypes.string.isRequired,
|
|
|
|
|
|
|
+ pagePath: PropTypes.string,
|
|
|
|
|
|
|
|
shareLinks: PropTypes.array.isRequired,
|
|
shareLinks: PropTypes.array.isRequired,
|
|
|
onClickDeleteButton: PropTypes.func,
|
|
onClickDeleteButton: PropTypes.func,
|