-
Notifications
You must be signed in to change notification settings - Fork 2
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
PRO-6870 Export Templates #99
Conversation
return this.moduleName === '@apostrophecms/page' && !this.type | ||
? [ ...new Set(this.checkedTypes) ] | ||
: [ this.type ]; | ||
return this.checkedTypes || [ this.type ]; |
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.
checkedTypes
is passed when meant to be used (like for pages and templates).
268580e
to
92d77f4
Compare
5f6536e
to
cd5cd9e
Compare
@@ -151,7 +151,7 @@ export default { | |||
}, | |||
checkedTypes: { | |||
type: Array, | |||
default: () => [] | |||
default: null |
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.
checkedTypes
must be null and unused unless passed from another component.
name="fade" | ||
:duration="200" | ||
name="slide" | ||
duration="200" |
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.
Fixing transition that wasn't working anymore.
? moduleOptions.pluralLabel | ||
: moduleOptions.label; | ||
? labels.pluralLabel | ||
: labels.label; |
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.
We know use moduleLabels
if existing.
? this.checkedRelatedTypes.length * CONTAINER_ITEM_HEIGHT + CONTAINER_DESCRIPTION_HEIGHT | ||
: CONTAINER_MINIMUM_HEIGHT; | ||
|
||
await this.$nextTick(); |
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.
It worked until now because we make an http request before. But without the ref container isn't accessible.
Just a guard to make sure it'll work whatever time takes the request.
|
||
100% { | ||
height: var(--container-height); | ||
} |
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.
Fixing broken animation.
76160dd
to
d460c75
Compare
PRO-6871
PRO-6870
PRs
Summary
What are the specific steps to test this change?
Cypress tests: 🟠
What kind of change does this PR introduce?
Make sure the PR fulfills these requirements: