Added movability of dialogs
This commit is contained in:
@@ -157,9 +157,9 @@ const menuStructure = {
|
||||
visible: ["all"],
|
||||
path: "/settings/view"
|
||||
},
|
||||
interrests: {
|
||||
interests: {
|
||||
visible: ["all"],
|
||||
path: "/settings/interrests"
|
||||
path: "/settings/interests"
|
||||
},
|
||||
sexuality: {
|
||||
visible: ["over14"],
|
||||
@@ -190,9 +190,9 @@ const menuStructure = {
|
||||
visible: ["mainadmin", "rights"],
|
||||
path: "/admin/rights"
|
||||
},
|
||||
interrests: {
|
||||
visible: ["mainadmin", "interrests"],
|
||||
path: "/admin/interrests"
|
||||
interests: {
|
||||
visible: ["mainadmin", "interests"],
|
||||
path: "/admin/interests"
|
||||
},
|
||||
falukant: {
|
||||
visible: ["mainadmin", "falukant"],
|
||||
@@ -255,7 +255,8 @@ export const menu = async (req, res) => {
|
||||
where: { userId: user.id },
|
||||
include: [{
|
||||
model: UserRightType,
|
||||
as: 'rightType'
|
||||
as: 'rightType',
|
||||
required: false
|
||||
}]
|
||||
});
|
||||
const userBirthdateParams = await UserParam.findAll({
|
||||
|
||||
Reference in New Issue
Block a user