✨feature: Add success message display for site creation
This commit is contained in:
@@ -7,7 +7,7 @@ const sitesModel = new SiteModel();
|
||||
router.get('/', async function(req, res, next) {
|
||||
const sites = await sitesModel.getAll();
|
||||
// console.log('Sites:', sites);
|
||||
res.render('index', { title: 'Playwright Testing Dashboard', sites: sites });
|
||||
res.render('index', { title: 'Playwright Testing Dashboard', sites: sites, msg: '' });
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user