Skip to content

fix: user count frontend version#58398

Open
csilva1-eng wants to merge 1 commit intonextcloud:masterfrom
csilva1-eng:osc
Open

fix: user count frontend version#58398
csilva1-eng wants to merge 1 commit intonextcloud:masterfrom
csilva1-eng:osc

Conversation

@csilva1-eng
Copy link

@csilva1-eng csilva1-eng commented Feb 18, 2026

Summary

Saw that the previous pull request to this had an issue with working in the backend. I changed the line in the frontend as suggested to avoid that issue. This is my first ever open source contribution! Apologies in advance for any mistakes I may have made.

Checklist

Signed-off-by: csilva1-eng <christophersilva656@gmail.com>
@csilva1-eng csilva1-eng requested a review from a team as a code owner February 18, 2026 04:53
@csilva1-eng csilva1-eng requested review from skjnldsv, susnux and szaimen and removed request for a team February 18, 2026 04:53
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for now but will break with Vue 3 migration (component then only allows numeric values)

@susnux susnux added bug 3. to review Waiting for reviews labels Feb 18, 2026
@susnux susnux added this to the Nextcloud 34 milestone Feb 18, 2026
@susnux
Copy link
Contributor

susnux commented Feb 18, 2026

/backport to stable33

@susnux
Copy link
Contributor

susnux commented Feb 18, 2026

/backport to stable32

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

const userCount = computed(() => {
const count = store.getters.getUserCount

return count >= 999 ? '999+' : 0
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mistake on this line. Meant to be
return count >= 999 ? '999+' : count

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return count >= 999 ? '999+' : 0
return count >= 999 ? '999+' : count

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Display to "999+" when users limit is reached in Accounts

3 participants

Comments