- Updates Segment model to return ASC sorted results
- Updates Subscriber listing to display segmnets with count
This commit is contained in:
@@ -106,6 +106,9 @@ const bulk_actions = [
|
||||
return !!(
|
||||
!segment.deleted_at && segment.type === 'default'
|
||||
);
|
||||
},
|
||||
getLabel: function (segment) {
|
||||
return segment.name + ' (' + segment.subscribers + ')';
|
||||
}
|
||||
};
|
||||
|
||||
@@ -137,6 +140,9 @@ const bulk_actions = [
|
||||
return !!(
|
||||
!segment.deleted_at && segment.type === 'default'
|
||||
);
|
||||
},
|
||||
getLabel: function (segment) {
|
||||
return segment.name + ' (' + segment.subscribers + ')';
|
||||
}
|
||||
};
|
||||
|
||||
@@ -168,6 +174,9 @@ const bulk_actions = [
|
||||
return !!(
|
||||
segment.type === 'default'
|
||||
);
|
||||
},
|
||||
getLabel: function (segment) {
|
||||
return segment.name + ' (' + segment.subscribers + ')';
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user