크리에이터 커뮤니티 댓글이 써지지 않던 버그 수정
This commit is contained in:
parent
d53392ddcd
commit
623640d410
|
@ -119,7 +119,6 @@ class CreatorCommunityAllViewModel: ObservableObject {
|
||||||
}
|
}
|
||||||
|
|
||||||
func createCommunityPostComment(comment: String, postId: Int, parentId: Int? = nil) {
|
func createCommunityPostComment(comment: String, postId: Int, parentId: Int? = nil) {
|
||||||
if !isLoading && !isLast {
|
|
||||||
isLoading = true
|
isLoading = true
|
||||||
|
|
||||||
repository.createCommunityPostComment(comment: comment, postId: postId, parentId: parentId)
|
repository.createCommunityPostComment(comment: comment, postId: postId, parentId: parentId)
|
||||||
|
@ -162,7 +161,6 @@ class CreatorCommunityAllViewModel: ObservableObject {
|
||||||
}
|
}
|
||||||
.store(in: &subscription)
|
.store(in: &subscription)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
func report(reason: String) {
|
func report(reason: String) {
|
||||||
isLoading = true
|
isLoading = true
|
||||||
|
|
Loading…
Reference in New Issue