Compare commits

..

No commits in common. "e85ecfae1676658f76d2be88f6b5c554fdb996f7" and "bfc5f6849f1fcc16ff6b598d6388ad889c5d2610" have entirely different histories.

5 changed files with 5 additions and 11 deletions

View file

@ -1,7 +1,3 @@
1.1.0
* Do not display an empty groups selection.
1.0.0 1.0.0
* Improve the sorting of e-mails when creating/editing a group * Improve the sorting of e-mails when creating/editing a group

View file

@ -102,8 +102,6 @@ class MMFCustomersGroupsServiceProvider extends ServiceProvider {
// as the one that has been passed does not have a "groups" relationship. // as the one that has been passed does not have a "groups" relationship.
$mailbox = Mailbox::find($mailbox->id); $mailbox = Mailbox::find($mailbox->id);
$groups = $mailbox->groups; $groups = $mailbox->groups;
// Do not add the groups selection space if no group is set.
if ( $groups->isEmpty() ) return;
echo View::make( echo View::make(
'mmfcustomersgroups::conversations/partials/groups-selection', 'mmfcustomersgroups::conversations/partials/groups-selection',
[ [

View file

@ -13,11 +13,11 @@ A groups is a list of customers, and selecting it when starting a conversation a
Download the [release tarball] and extract its content into `Modules/MMFCustomersGroups`. Download the [release tarball] and extract its content into `Modules/MMFCustomersGroups`.
[release tarball]: https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.1.0.tar.gz [release tarball]: https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.0.0.tar.gz
``` ```
wget https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.1.0.tar.gz -O freescout-customers-groups-1.1.0.tar.gz wget https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.0.0.tar.gz -O freescout-customers-groups-1.0.0.tar.gz
tar xf freescout-customers-groups-1.1.0.tar.gz -C Modules tar xf freescout-customers-groups-1.0.0.tar.gz -C Modules
mv Modules/freescout-customers-groups Modules/MMFCustomersGroups mv Modules/freescout-customers-groups Modules/MMFCustomersGroups
``` ```

View file

@ -1,7 +1,7 @@
{ {
"name": "millions-missing-france/freescout-customers-groups", "name": "millions-missing-france/freescout-customers-groups",
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing", "description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
"version": "1.1.0", "version": "1.0.0",
"type": "library", "type": "library",
"license": ["AGPL-3.0-only"], "license": ["AGPL-3.0-only"],
"authors": [ "authors": [

View file

@ -2,7 +2,7 @@
"name": "MMFCustomersGroups", "name": "MMFCustomersGroups",
"alias": "mmfcustomersgroups", "alias": "mmfcustomersgroups",
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing", "description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
"version": "1.1.0", "version": "1.0.0",
"detailsUrl": "", "detailsUrl": "",
"author": "Millions Missing FRANCE", "author": "Millions Missing FRANCE",
"authorUrl": "info@millionsmissing.fr", "authorUrl": "info@millionsmissing.fr",