-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds new component to show a sort by date dropdown #1407
Conversation
lib/nav/sort-selector.vue
Outdated
@@ -0,0 +1,48 @@ | |||
<template> | |||
<div class="sort-selector" :class="{ 'is-vertical': vertical }"> | |||
<ui-radio class="sort-selector-radio" color="accent" label="Recently Updated" :value="selectedSort" trueValue="updateTime" @input="input" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could do a for loop here using a configuration object of array
}; | ||
</script> | ||
|
||
<style lang="sass"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you put the styles at the beginning? I see this convention in others components
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember the style convention for vue files is that style block should be at the bottom of the file, please see this issue https://github.com/clay/pyxis-frontend/issues/25
Description
QA
Screenshots