File tree Expand file tree Collapse file tree
src/components/access_group Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,5 +2,4 @@ env: prod
22namespace : dinopark-prod
33replicas : 3
44features :
5- accessGroupsNav : false
6- customInvitationText : false
5+ accessGroupsNav : false
Original file line number Diff line number Diff line change @@ -269,6 +269,13 @@ export default {
269269 trust: this .groupTrust ,
270270 },
271271 });
272+ if (this .groupTermsRequiredData ) {
273+ await this .accessGroupApi .execute ({
274+ path: ' terms/post' ,
275+ endpointArguments: [this .groupName ],
276+ dataArguments: this .groupTermsData ,
277+ });
278+ }
272279 this .completeLoading ();
273280 this .tinyNotification (' access-group-created' , this .groupName );
274281 this .$router .push ({
Original file line number Diff line number Diff line change @@ -262,7 +262,10 @@ export default {
262262 groupTermsRequiredData () {
263263 this .groupTermsDirty = true ;
264264 },
265- emailInviteText () {
265+ emailInviteText (value ) {
266+ if (value !== null && ! this .emailInviteTextEnabled ) {
267+ this .emailInviteTextEnabled = true ;
268+ }
266269 this .emailInviteTextDirty = true ;
267270 },
268271 },
@@ -294,10 +297,11 @@ export default {
294297 });
295298 },
296299 async fetchEmailInviteText () {
297- return await this .accessGroupApi .execute ({
300+ const { body } = await this .accessGroupApi .execute ({
298301 path: ' groupInvitationEmail/get' ,
299302 endpointArguments: [this .groupInformation .group .name ],
300- }).body ;
303+ });
304+ return body;
301305 },
302306 async updateGroup (updateData ) {
303307 await this .accessGroupApi .execute ({
You can’t perform that action at this time.
0 commit comments