Release v2.4.2

This commit is contained in:
2026-08-03 12:45:27 +01:00
parent 2b9cabdab2
commit e95928f31c
141 changed files with 7694 additions and 5078 deletions
+2 -7
View File
@@ -1,14 +1,9 @@
// Screen add page renderer.
const { renderView } = require('../../../view');
const { buildScreenFormViewModel } = require('./form-view-model');
module.exports = function renderScreenFormPage(data, message, currentUser) {
return renderView('screens/add', {
title: 'Add screen',
active: 'screens',
message: message,
currentUser: currentUser || null,
playlists: data.playlists || []
});
return renderView('screens/form', buildScreenFormViewModel(null, data || {}, message, currentUser, false));
};