Skip to content

Conversation

@progmatic-99
Copy link
Contributor

Fixes #7851

@auto-label auto-label bot added the fix label Sep 24, 2021
@vercel
Copy link

vercel bot commented Sep 24, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/5jAeeX5Ac62gCwFuaP5uKZgKYMmk
✅ Preview: https://open-event-frontend-git-fork-progmatic-99-fix-7851-eventyay.vercel.app

@codecov
Copy link

codecov bot commented Sep 24, 2021

Codecov Report

Merging #7854 (7ab5269) into development (8f6399b) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #7854      +/-   ##
===============================================
- Coverage        18.59%   18.55%   -0.05%     
===============================================
  Files              614      614              
  Lines             7206     7206              
  Branches           149      149              
===============================================
- Hits              1340     1337       -3     
- Misses            5839     5842       +3     
  Partials            27       27              
Impacted Files Coverage Δ
app/models/group.js 0.00% <0.00%> (ø)
app/components/tabbed-navigation.js 33.33% <0.00%> (-20.00%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f6399b...7ab5269. Read the comment docs.

Copy link
Member

@divyamtayal divyamtayal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the indentation

@progmatic-99
Copy link
Contributor Author

double quotes should be changed to single quotes, too??

@pavnesh-c
Copy link
Member

double quotes should be changed to single quotes, too??

Yes

import { belongsTo, hasMany } from 'ember-data/relationships';
import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
import attr from "ember-data/attr";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change it to single quote

import { inject as service } from "@ember/service";

export default class Group extends ModelBase.extend({
router: service(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation

deletedAt : attr('moment'),
followerCount : attr('number'),
socialLinks : attr(),
name: attr("string"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here also

roles : hasMany('users-groups-role'),
follower : belongsTo('user-follow-group', { inverse: 'group' }),
followers : hasMany('user-follow-group'),
user: belongsTo("user"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here also

return origin + this.router.urlFor('groups.edit.events', this.id);
})
url: computed("identifier", function () {
const origin = this.fastboot.isFastBoot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here also

const origin = this.fastboot.isFastBoot
? `${this.fastboot.request.protocol}//${this.fastboot.request.host}`
: location.origin;
return origin + `/g/${this.id}`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@progmatic-99
What I see is that only this line is been modified in this PR. Pls revert other indent changes back to normal.
and pls disable any auto-format extention that might have installed in your code-editor to avoid this small indent issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more readable. I will change other things.

@mariobehling mariobehling merged commit a47087c into fossasia:development Sep 24, 2021
@progmatic-99 progmatic-99 deleted the fix-7851 branch October 7, 2021 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Groups admin page: Public URL fields display link to private edit URL

4 participants