mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
11 lines
294 B
JavaScript
11 lines
294 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
export default class GhExploreModal extends Component {
|
||
|
@service explore;
|
||
|
|
||
|
get visibilityClass() {
|
||
|
return this.explore.exploreWindowOpen ? 'gh-explore' : 'gh-explore closed';
|
||
|
}
|
||
|
}
|