Update the series view command to be in greyscale if the user has not claimed the card #297
No reviewers
Labels
No labels
blocked
duplicate
needs criteria
needs estimate
needs tests
question
requires documentation
type
admin
type
alert
type
bug
type
change
type
defect
type
dependencies
type
epic
type
spike
type
story
type
subtask
won't fix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: External/card-drop#297
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/279-series-view-image-grid-2"
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?
Jimp
package so we can manipulate imagesImageHelper
class to accept the user id so we can check if a user has claimed the card/series view
command to pass the user id into the ImageHelper#279
@ -31,0 +39,4 @@
const imageData = await Jimp.read(filePath);
if (userId != null) {
const claimed = await Inventory.ExistsByCardNumberAndUserId(userId, card.id);
This should also actually check the Quantity of the inventory, not just if it exists