mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed incorrect existing product check in modal
refs https://github.com/TryGhost/Team/issues/715
This commit is contained in:
parent
db1cc85882
commit
25a1e52391
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export default class ModalProductPrice extends ModalBase {
|
|||
}
|
||||
|
||||
get isExistingProduct() {
|
||||
return !!this.model.product;
|
||||
return !this.model.product.isNew;
|
||||
}
|
||||
|
||||
// TODO: rename to confirm() when modals have full Glimmer support
|
||||
|
|
Loading…
Add table
Reference in a new issue