Update import type display
This commit is contained in:
parent
c5b481a266
commit
f4375e9da9
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ router.get('/view/:id', passport.csrfProtection, (req, res) => {
|
|||
|
||||
list.imports = imports.map((entry, i) => {
|
||||
entry.index = i + 1;
|
||||
entry.importType = entry.type === 1 ? _('Subscribe') : _('Unsubscribe');
|
||||
entry.importType = entry.type === 0 ? _('Force Subscribe') : (entry.type === 1 ? _('Subscribe') : _('Unsubscribe'));
|
||||
switch (entry.status) {
|
||||
case 0:
|
||||
entry.importStatus = _('Initializing');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue