feat: use category selector in category page

fix privilege shortcuts in group page after search
This commit is contained in:
Barış Soner Uşaklı
2020-07-30 14:55:28 -04:00
parent 560f3eb173
commit fb7bb8d400
6 changed files with 68 additions and 23 deletions

View File

@@ -704,17 +704,60 @@ paths:
type: string
parent:
$ref: components/schemas/CategoryObject.yaml#/CategoryObject
allCategories:
categories:
type: array
items:
type: object
properties:
text:
type: string
value:
cid:
type: number
description: A category identifier
name:
type: string
icon:
type: string
selected:
type: boolean
level:
type: string
parentCid:
type: number
description: The category identifier for the category that is the immediate
ancestor of the current category
color:
type: string
bgColor:
type: string
imageClass:
type: string
required:
- cid
- name
- icon
selectedCategory:
type: object
properties:
cid:
type: number
description: A category identifier
name:
type: string
level:
type: string
icon:
type: string
parentCid:
type: number
description: The category identifier for the category that is the immediate
ancestor of the current category
color:
type: string
bgColor:
type: string
imageClass:
type: string
selected:
type: boolean
customClasses:
type: array
items: