fix: show completed feedback state to author
Deploy EG-BIM QA Gateway / deploy (push) Successful in 46s
Deploy EG-BIM QA Gateway / deploy (push) Successful in 46s
This commit is contained in:
1 parent
c48f426ae8
commit
d87785439f
5 files changed
+12
-8
No files matched your search
+4
-1
@@ -585,11 +585,14 @@
|
||||
const editForm = qs('#editForm');
|
||||
const editError = qs('#editError');
|
||||
const completionNotice = qs("#completionNotice");
|
||||
const completionDoneNotice = qs("#completionDoneNotice");
|
||||
const completionButton = qs("#completionButton");
|
||||
const renderCompletionNotice = function () {
|
||||
const owner = isPostOwner(post, detailUser || getAuthUser());
|
||||
const visible = owner && post.completionRequested && !post.completionConfirmed;
|
||||
const completed = normalizeStatus(post.status) === "완료" || post.completionConfirmed;
|
||||
const visible = owner && !completed && post.completionRequested;
|
||||
if (completionNotice) completionNotice.hidden = !visible;
|
||||
if (completionDoneNotice) completionDoneNotice.hidden = !(owner && completed);
|
||||
};
|
||||
const ownerActions = function () {
|
||||
const owner = isPostOwner(post, detailUser || getAuthUser());
|
||||
|
||||
Reference in new issue
Block a user