2018-01-09 02:14:21 +00:00
|
|
|
<ul>
|
|
|
|
{{#each statuses as status}}
|
2018-01-11 08:26:35 +00:00
|
|
|
<li>
|
|
|
|
<Status :status />
|
|
|
|
</li>
|
2018-01-09 02:14:21 +00:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2018-01-11 08:26:35 +00:00
|
|
|
<style>
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2018-01-15 05:41:19 +00:00
|
|
|
li {
|
|
|
|
border-bottom: 1px solid var(--main-border);
|
|
|
|
}
|
2018-01-11 08:26:35 +00:00
|
|
|
</style>
|
2018-01-09 02:14:21 +00:00
|
|
|
<script>
|
|
|
|
import { store } from '../_utils/store'
|
2018-01-13 22:19:51 +00:00
|
|
|
import { getHomeTimeline } from '../_utils/mastodon/oauth'
|
2018-01-11 04:45:02 +00:00
|
|
|
import fixture from '../_utils/fixture.json'
|
|
|
|
import Status from './Status.html'
|
2018-01-09 02:14:21 +00:00
|
|
|
|
|
|
|
export default {
|
|
|
|
data: () => ({
|
|
|
|
target: 'home',
|
2018-01-15 07:24:27 +00:00
|
|
|
statuses: fixture
|
2018-01-09 02:14:21 +00:00
|
|
|
}),
|
2018-01-11 04:45:02 +00:00
|
|
|
store: () => store,
|
|
|
|
components: {
|
|
|
|
Status
|
|
|
|
}
|
2018-01-09 02:14:21 +00:00
|
|
|
}
|
|
|
|
</script>
|