Resolve "Redesign the sidebar/navigation to simplify the UI"
This commit is contained in:
parent
cdd6f3d759
commit
e15d806634
38 changed files with 2065 additions and 1571 deletions
|
|
@ -127,7 +127,8 @@ const FETCH_URL = "radios/radios/"
|
|||
export default {
|
||||
mixins: [OrderingMixin, PaginationMixin, TranslationsMixin],
|
||||
props: {
|
||||
defaultQuery: { type: String, required: false, default: "" }
|
||||
defaultQuery: { type: String, required: false, default: "" },
|
||||
scope: { type: String, required: false, default: "all" },
|
||||
},
|
||||
components: {
|
||||
RadioCard,
|
||||
|
|
@ -183,10 +184,11 @@ export default {
|
|||
this.isLoading = true
|
||||
let url = FETCH_URL
|
||||
let params = {
|
||||
scope: this.scope,
|
||||
page: this.page,
|
||||
page_size: this.paginateBy,
|
||||
name__icontains: this.query,
|
||||
ordering: this.getOrderingAsString()
|
||||
ordering: this.getOrderingAsString(),
|
||||
}
|
||||
logger.default.debug("Fetching radios")
|
||||
axios.get(url, { params: params }).then(response => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue