-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Organization Rate #171
base: ab_migrate
Are you sure you want to change the base?
Conversation
- Also comment out a console.log
…ntent - The headers default to the existing ones - We now re-emit the `selected` changes so the parent can use them - There is a slot for custom buttons and a slot for custom content - This is used by CBSN for organization rate setting.
- In this case, CBSN Organization Rate
- Has to be kabob case
- Also add decompose to `organizationRate`
@@ -400,6 +406,12 @@ export default class IFXAPIService { | |||
}) | |||
newOrgData.users = organizationUserDataObjs | |||
} | |||
|
|||
// Check if incoming orgData has rates | |||
if (orgData.organization_rates && orgData.organization_rates.length) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be organizationRates?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so since this data is either coming from the server or being decomposed and, hence, is part of the data
object.
This PR adds the
OrganizationRate
to theOrganization
class as well as adding custom headers and slots toIFXOrganizationList
and a slot toIFXOrganizationDetail
. This allows a calling page, such as one from CBSN, to add content to these pages which they can use to display and attach additional data to theOrganization
object.The first use of this will be CBSN adding
OrganizationRate
s.