mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-25 06:06:05 +03:00
[PR #1169] [CLOSED] L.175 : added Math.ceil #1823
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#1823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/floccusaddon/floccus/pull/1169
Author: @pinpontitit
Created: 5/17/2022
Status: ❌ Closed
Base:
develop← Head:develop📝 Commits (4)
c11cb68L.175 : added Math.ceil to only allow integers and respect the failsafe rule : if more than 50%a146d30Merge branch 'floccusaddon:develop' into develop931ef46Update messages.json0f844e6Returned to the line the sync button that was going through screen broder in browser. In french sync is synchronisation, and there's no short word for it, so it's quite long.📊 Changes
3 files changed (+8 additions, -2 deletions)
View changed files
📝
_locales/en/messages.json(+1 -1)📝
src/lib/strategies/Default.ts(+1 -1)📝
src/ui/components/AccountCard.vue(+6 -0)📄 Description
Added Math.ceil to the line 175. To avoid decimal numbers and only allow integers.
"Ceil" because if its 50.00145 %, it'd be preferable to show 51%, as the failsafe rule in settings states that it will only trigger when "more" than 50% is removed.
Fixes #1167
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.