mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Add pool CRUD operations/pages
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
const router = require('../router.js');
|
||||
const api = require('../api.js');
|
||||
const tags = require('../tags.js');
|
||||
const pools = require('../pools.js');
|
||||
const uri = require('../util/uri.js');
|
||||
const topNavigation = require('../models/top_navigation.js');
|
||||
const LoginView = require('../views/login_view.js');
|
||||
@ -27,6 +28,7 @@ class LoginController {
|
||||
ctx.controller.showSuccess('Logged in');
|
||||
// reload tag category color map, this is required when `tag_categories:list` has a permission other than anonymous
|
||||
tags.refreshCategoryColorMap();
|
||||
pools.refreshCategoryColorMap();
|
||||
}, error => {
|
||||
this._loginView.showError(error.message);
|
||||
this._loginView.enableForm();
|
||||
|
Reference in New Issue
Block a user