From 38cf4f0b40d54abe8e12047666bf2ffd0def08a6 Mon Sep 17 00:00:00 2001 From: akameco Date: Sat, 3 Sep 2016 08:48:21 +0900 Subject: [PATCH] :beer: output jp --- app/components/modal/select-column-modal.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/modal/select-column-modal.jsx b/app/components/modal/select-column-modal.jsx index 3d976fe9..6c3857f2 100644 --- a/app/components/modal/select-column-modal.jsx +++ b/app/components/modal/select-column-modal.jsx @@ -41,7 +41,8 @@ export default class SelectColumnModal extends Component { } handleAddFavorite = (publicity: 'private' | 'public') => { - this.props.onSelect({type: 'favoriteWorks', opts: {publicity, page: 1}}, `favorite/${publicity}`); + const title = {private: '非公開ブックマーク', public: '公開ブックマーク'}[publicity]; + this.props.onSelect({type: 'favoriteWorks', opts: {publicity, page: 1}}, title); } handleAddHistory = () => {