Skip to content

Commit

Permalink
Merge pull request #24 from tronghieuvuong/tvuong/navigationAtTop
Browse files Browse the repository at this point in the history
UI: Add naviagtion button to the top of the page.
  • Loading branch information
tronghieuvuong authored Nov 15, 2023
2 parents 6d890f5 + 53debdf commit c504411
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apps/release-notes/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ export default {
</div>

<div class="release-page">
<div class="pagination">
<div id="prev" class="prev-bttn">
<ButtonComponent :text="navButton.prevText" type="submit" @click="changeEndCursor" />
</div>
<div class="next-bttn">
<ButtonComponent :text="navButton.nextText" type="submit" @click="changeStartCursor" />
</div>
</div>
<div v-if="releases">
<div class="page">
<div class="date-range">
Expand Down
1 change: 0 additions & 1 deletion apps/release-notes/tests/composables/home.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ describe('helper functions test', () => {
it('Test getClient function', () => {
const spy = vi.spyOn(client, 'getClient')
expect(spy.getMockName()).toEqual('getClient')

// // expect(releases.filterResponse(releases.items)).toEqual(releases.expected);

// // const empty: Release[] = [];
Expand Down

0 comments on commit c504411

Please sign in to comment.