client: refactor user-preview to composition api #95

Closed
norm wants to merge 1 commit from refactor/user-preview into main
Owner
No description provided.
Johann150 requested changes 2022-08-29 20:49:42 +00:00
@ -23,3 +23,3 @@
</div>
</div>
<MkFollowButton v-if="$i && user.id != $i.id" class="koudoku-button" :user="user" mini/>
<MkFollowButton v-if="user.id != $i?.id" class="koudoku-button" :user="user" mini/>
Owner

I think this change is not correct because we do not want to show a follow button to users that are not logged in. Hence we also explicitly check whether $i == null which would indicate not being logged in.

I think this change is not correct because we do not want to show a follow button to users that are not logged in. Hence we also explicitly check whether `$i == null` which would indicate not being logged in.
norm marked this conversation as resolved
norm force-pushed refactor/user-preview from 775a5ba668 to a6c1bdafe6 2022-08-29 20:52:47 +00:00 Compare
Johann150 closed this pull request 2022-08-30 17:09:45 +00:00
Owner

merged in 20f45e0179

merged in 20f45e0179f3144b5fbd9a4ff262bfc4613cf9a9
Some checks failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline failed

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#95
No description provided.