You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1598,13 +1592,15 @@ class Browser extends DashboardView {
1598
1592
script.cloudCodeFunction,
1599
1593
{object: object.toPointer()},
1600
1594
{useMasterKey: true}
1601
-
).then(response=>({
1602
-
objectId: object.id,
1603
-
response,
1604
-
})).catch(error=>({
1605
-
objectId: object.id,
1606
-
error,
1607
-
}))
1595
+
)
1596
+
.then(response=>({
1597
+
objectId: object.id,
1598
+
response,
1599
+
}))
1600
+
.catch(error=>({
1601
+
objectId: object.id,
1602
+
error,
1603
+
}))
1608
1604
);
1609
1605
1610
1606
constresults=awaitPromise.all(promises);
@@ -1631,12 +1627,18 @@ class Browser extends DashboardView {
1631
1627
totalErrorCount+=batchErrorCount;
1632
1628
1633
1629
if(objects.length>1){
1634
-
this.showNote(`Ran script "${script.title}" on ${batch.length} objects in batch ${batchCount}/${totalBatchCount} with ${batchErrorCount} errors.`,batchErrorCount>0);
1630
+
this.showNote(
1631
+
`Ran script "${script.title}" on ${batch.length} objects in batch ${batchCount}/${totalBatchCount} with ${batchErrorCount} errors.`,
1632
+
batchErrorCount>0
1633
+
);
1635
1634
}
1636
1635
}
1637
1636
1638
1637
if(objects.length>1){
1639
-
this.showNote(`Ran script "${script.title}" on ${objects.length} objects in ${batchCount} batches with ${totalErrorCount} errors.`,totalErrorCount>0);
1638
+
this.showNote(
1639
+
`Ran script "${script.title}" on ${objects.length} objects in ${batchCount} batches with ${totalErrorCount} errors.`,
1640
+
totalErrorCount>0
1641
+
);
1640
1642
}
1641
1643
this.refresh();
1642
1644
}catch(e){
@@ -1957,7 +1959,7 @@ class Browser extends DashboardView {
1957
1959
}}
1958
1960
removeFilter={filter=>{
1959
1961
this.resetPage();
1960
-
this.removeFilter(filter)
1962
+
this.removeFilter(filter);
1961
1963
}}
1962
1964
classClicked={()=>{
1963
1965
this.resetPage();
@@ -1978,7 +1980,7 @@ class Browser extends DashboardView {
1978
1980
// Scroll to top
1979
1981
window.scrollTo({
1980
1982
top: 0,
1981
-
behavior: 'smooth'
1983
+
behavior: 'smooth',
1982
1984
});
1983
1985
1984
1986
// Reset pagination to page 1
@@ -2201,6 +2203,7 @@ class Browser extends DashboardView {
0 commit comments