-
-
Notifications
You must be signed in to change notification settings - Fork 497
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
#588 - octane - guides update - model/relationships #634
#588 - octane - guides update - model/relationships #634
Conversation
Hm, I believe these should be tracked properties, otherwise it won't update? cc @pzuraq |
I think @pzuraq was suggesting this very change in #553 (comment). |
Yup! So, |
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.
Also in PaymentPethodPaypal
, but github won't let me comment on that line.
import PaymentMethod from './payment-method'; | ||
const { attr } = DS; | ||
|
||
export default class PaymentMethodCc extends PaymentMethod { | ||
@attr() last4; | ||
|
||
obfuscatedIdentifier: computed('last4', function () { | ||
get obfuscatedIdentifier() { | ||
return `**** **** **** ${this.last4}`; | ||
}) |
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.
}) | |
} |
@dennismende Could you make the two punctuation fixes noted by James ( It is helpful if you check "allow maintainers to make changes" when you open PRs, if you are ok with it. It's not required, but it means we can do things like update stale branches or fix small typos without bugging you about it. Thanks for the help! |
I pulled these commits by @dennismende into a fresh PR, and then made the typo fixes. It's been merged! Thanks Dennis for your help! |
No description provided.