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 +1598,15 @@ class Browser extends DashboardView {
1598
1598
script.cloudCodeFunction,
1599
1599
{object: object.toPointer()},
1600
1600
{useMasterKey: true}
1601
-
).then(response=>({
1602
-
objectId: object.id,
1603
-
response,
1604
-
})).catch(error=>({
1605
-
objectId: object.id,
1606
-
error,
1607
-
}))
1601
+
)
1602
+
.then(response=>({
1603
+
objectId: object.id,
1604
+
response,
1605
+
}))
1606
+
.catch(error=>({
1607
+
objectId: object.id,
1608
+
error,
1609
+
}))
1608
1610
);
1609
1611
1610
1612
constresults=awaitPromise.all(promises);
@@ -1631,12 +1633,18 @@ class Browser extends DashboardView {
1631
1633
totalErrorCount+=batchErrorCount;
1632
1634
1633
1635
if(objects.length>1){
1634
-
this.showNote(`Ran script "${script.title}" on ${batch.length} objects in batch ${batchCount}/${totalBatchCount} with ${batchErrorCount} errors.`,batchErrorCount>0);
1636
+
this.showNote(
1637
+
`Ran script "${script.title}" on ${batch.length} objects in batch ${batchCount}/${totalBatchCount} with ${batchErrorCount} errors.`,
1638
+
batchErrorCount>0
1639
+
);
1635
1640
}
1636
1641
}
1637
1642
1638
1643
if(objects.length>1){
1639
-
this.showNote(`Ran script "${script.title}" on ${objects.length} objects in ${batchCount} batches with ${totalErrorCount} errors.`,totalErrorCount>0);
1644
+
this.showNote(
1645
+
`Ran script "${script.title}" on ${objects.length} objects in ${batchCount} batches with ${totalErrorCount} errors.`,
1646
+
totalErrorCount>0
1647
+
);
1640
1648
}
1641
1649
this.refresh();
1642
1650
}catch(e){
@@ -1957,7 +1965,7 @@ class Browser extends DashboardView {
1957
1965
}}
1958
1966
removeFilter={filter=>{
1959
1967
this.resetPage();
1960
-
this.removeFilter(filter)
1968
+
this.removeFilter(filter);
1961
1969
}}
1962
1970
classClicked={()=>{
1963
1971
this.resetPage();
@@ -1978,7 +1986,7 @@ class Browser extends DashboardView {
1978
1986
// Scroll to top
1979
1987
window.scrollTo({
1980
1988
top: 0,
1981
-
behavior: 'smooth'
1989
+
behavior: 'smooth',
1982
1990
});
1983
1991
1984
1992
// Reset pagination to page 1
@@ -2201,6 +2209,7 @@ class Browser extends DashboardView {
0 commit comments