|
@@ -192,14 +192,14 @@ export default class PageContainer extends Container {
|
|
|
*/
|
|
*/
|
|
|
get isAbleToShowPageEditorModeManager() {
|
|
get isAbleToShowPageEditorModeManager() {
|
|
|
const { isNotCreatable, isPageInTrash } = this.state;
|
|
const { isNotCreatable, isPageInTrash } = this.state;
|
|
|
- const { isSharedUser, isGuestUser } = this.appContainer;
|
|
|
|
|
|
|
+ const { isSharedUser } = this.appContainer;
|
|
|
|
|
|
|
|
- return (!isNotCreatable && !isPageInTrash && !isSharedUser && !isGuestUser);
|
|
|
|
|
|
|
+ return (!isNotCreatable && !isPageInTrash && !isSharedUser);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * whether to threeStrandedButton
|
|
|
|
|
- * ex.) view, edit, hackmd
|
|
|
|
|
|
|
+ * whether to display pageAuthors
|
|
|
|
|
+ * ex.) creator, lastUpdateUser
|
|
|
*/
|
|
*/
|
|
|
get isAbleToShowPageAuthors() {
|
|
get isAbleToShowPageAuthors() {
|
|
|
const { isPageExist, isUserPage } = this.state;
|
|
const { isPageExist, isUserPage } = this.state;
|