From 5819e694ba238b5e4ee97347c6cf5ee7a82725b5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Sep 2019 10:30:51 +0200 Subject: [PATCH] Better video publishing notification --- client/src/app/shared/users/user-notifications.component.html | 2 +- server/models/video/video-blacklist.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/shared/users/user-notifications.component.html b/client/src/app/shared/users/user-notifications.component.html index 0702d3b5e..a0f8e6df5 100644 --- a/client/src/app/shared/users/user-notifications.component.html +++ b/client/src/app/shared/users/user-notifications.component.html @@ -8,7 +8,7 @@
- {{ notification.video.channel.displayName }} published a new video + {{ notification.video.channel.displayName }} published a new video: {{ notification.video.name }}
diff --git a/server/models/video/video-blacklist.ts b/server/models/video/video-blacklist.ts index 533bfe1ad..694983cb3 100644 --- a/server/models/video/video-blacklist.ts +++ b/server/models/video/video-blacklist.ts @@ -5,7 +5,7 @@ import { ScopeNames as VideoChannelScopeNames, SummaryOptions, VideoChannelModel import { isVideoBlacklistReasonValid, isVideoBlacklistTypeValid } from '../../helpers/custom-validators/video-blacklist' import { VideoBlacklist, VideoBlacklistType } from '../../../shared/models/videos' import { CONSTRAINTS_FIELDS } from '../../initializers/constants' -import { FindOptions, literal } from 'sequelize' +import { FindOptions } from 'sequelize' import { ThumbnailModel } from './thumbnail' import * as Bluebird from 'bluebird' import { MVideoBlacklist, MVideoBlacklistFormattable } from '@server/typings/models' -- 2.25.1