mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +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';
|
||
|
}
|
||
|
}
|