mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
12 lines
356 B
JavaScript
12 lines
356 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
|
||
|
export default class PublishLimitModal extends Component {
|
||
|
get headerMessage() {
|
||
|
if (this.args.data.message?.match(/account is currently in review/gi)) {
|
||
|
return 'Hold up, we\'re missing some details';
|
||
|
} else {
|
||
|
return 'Upgrade to enable publishing';
|
||
|
}
|
||
|
}
|
||
|
}
|