Added recent posts component in dashboard 5

refs https://github.com/TryGhost/Team/issues/1448
This commit is contained in:
Simon Backx 2022-03-24 16:21:46 +01:00
parent 1fc31fa60d
commit abcfcbb3ed
3 changed files with 8 additions and 1 deletions

View File

@ -69,7 +69,7 @@
<h3>Recent posts</h3> <h3>Recent posts</h3>
</div> </div>
<article class="gh-dashboard5-box"> <article class="gh-dashboard5-box">
<!-- TODO: insert module --> <Dashboard::V5::RecentPosts />
</article> </article>
</section> </section>

View File

@ -0,0 +1 @@
Recent posts WIP

View File

@ -0,0 +1,6 @@
import Component from '@glimmer/component';
import {inject as service} from '@ember/service';
export default class RecentPosts extends Component {
@service dashboardStats;
}