Skip to content

Commit

Permalink
Update StaffPage.vue
Browse files Browse the repository at this point in the history
Added wording to prompt to inform the mall staff/admin how to set an object back to unlimited.
  • Loading branch information
SalleeMatthew authored and dburleson committed Jul 1, 2024
1 parent d603bb1 commit ba1e453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spa/src/pages/mall/staff/StaffPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default Vue.extend({
async updateLimit(objectId, quantity): Promise<void>{
this.showSuccess = false;
this.showError = false;
let limit = prompt("Update limit to this object\n");
let limit = prompt("Update limit to this object\n NOTE: Setting the limit to 0 makes it Unlimited\n");
if(limit !== limit.replace(/[^0-9]/g, '')){
this.error = "Use whole numbers only!";
return
Expand Down

0 comments on commit ba1e453

Please sign in to comment.