-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[經驗單篇] 允許觀看自己的文章 #1438
[經驗單篇] 允許觀看自己的文章 #1438
Conversation
This reverts commit d9272e5af1fc5c252fd0c5808e9bff1a294fc122.
c9986c5
to
069e4bd
Compare
c6d2d0e
to
42e8ff8
Compare
確認自己登入且沒有權限
確認自己未登入
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the fix.
@barry800414 @mark86092 剛想到 |
確認自己登入且沒有權限
確認自己未登入
|
Nice catch! Fixed :-D Please verify. |
如果是要確保 user 登入狀態改變會觸發 queryMyPublishId 可以參考: |
已更新成用 |
Close #1392
這個 PR 是?
新增
MyPublishes
API 拿取自己的 publish IDs,存進 redux。新增
useIsMyPublishId
簡化每個需要檢查是否是自己的經驗/薪時的頁面。Screenshots
我應該如何手動測試?
確認自己登入且沒有權限
確認自己未登入