« first day (2366 days earlier)      last day (1751 days later) » 

 
2 hours later…
 
2 hours later…
11:30
-1
Q: Mask image & uploaded image are saving in server

vickey colorsWe are displaying box image & mask images by fetching json. User will click on Mask image & upload their own image. Requirement : Onclick Save button, i need to save only user uploaded image on server. Issue : Onclick Save button, Both mask image & user uploaded image are saving in serve...

12:15
How does one test this:
` activeBomOfSelectedItem: Observable<any>;
saveForm() {
this.activeBomOfSelectedItem.subscribe((response) => {
//some code to be tested
}`
1 message moved from JavaScript
 
1 hour later…
Hi
db.schema.orderBy('id').reverse().where({section_id: section_id}).offset(offsetNumber).toArray().then( function (data) {
console.log("Data" , data);
callback(data);
});
I am using index with https://dexie.org/docs/Collection/Collection.offset() but when i add where clause its throw orderBy is not function
1 message moved from JavaScript
14:16
1 message moved from HTML / CSS / WebDesign
 
7 hours later…
1 message moved from Android
 
1 hour later…
21:54
@KevinB

let assignments = [{'id': 1, 'name': 'assignment1'}, {'id': 2, 'name': 'assignment2'}]
let requests = [{'id': 1, 'name': 'request1'}, {'id': 2, 'name': 'request2'}]
let items = assignments.concat(requests)

for (let i = 0; i < items.length; i++) {
let item = items[i]
// TEST IF ITEM IS ASSIGNMENT OR REQUEST
}
1 message moved from JavaScript

« first day (2366 days earlier)      last day (1751 days later) »