Added movability of dialogs

This commit is contained in:
Torsten Schulz
2024-08-19 12:34:08 +02:00
parent 4b6ad3aefe
commit 16a59daf39
40 changed files with 1625 additions and 204 deletions

View File

@@ -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({