diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-24 12:05:36 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-07-29 18:15:53 +0200 |
commit | 225a7682e68d81c3c90ff50e704db4ab5f81a341 (patch) | |
tree | bf73366c25a05a2dacf5c827c3b0d4b1f96d5b61 /server | |
parent | 66927c0588b050f23ad3f98d62b48307bc7e79e7 (diff) | |
download | PeerTube-225a7682e68d81c3c90ff50e704db4ab5f81a341.tar.gz PeerTube-225a7682e68d81c3c90ff50e704db4ab5f81a341.tar.zst PeerTube-225a7682e68d81c3c90ff50e704db4ab5f81a341.zip |
adapt notifications buttons for small screens
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/api/users/my-subscriptions.ts | 7 | ||||
-rw-r--r-- | server/models/activitypub/actor-follow.ts | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/server/controllers/api/users/my-subscriptions.ts b/server/controllers/api/users/my-subscriptions.ts index d207a19ae..8b88feaf3 100644 --- a/server/controllers/api/users/my-subscriptions.ts +++ b/server/controllers/api/users/my-subscriptions.ts | |||
@@ -13,7 +13,12 @@ import { | |||
13 | userSubscriptionAddValidator, | 13 | userSubscriptionAddValidator, |
14 | userSubscriptionGetValidator | 14 | userSubscriptionGetValidator |
15 | } from '../../../middlewares' | 15 | } from '../../../middlewares' |
16 | import { areSubscriptionsExistValidator, userSubscriptionsSortValidator, videosSortValidator, userSubscriptionListValidator } from '../../../middlewares/validators' | 16 | import { |
17 | areSubscriptionsExistValidator, | ||
18 | userSubscriptionsSortValidator, | ||
19 | videosSortValidator, | ||
20 | userSubscriptionListValidator | ||
21 | } from '../../../middlewares/validators' | ||
17 | import { VideoModel } from '../../../models/video/video' | 22 | import { VideoModel } from '../../../models/video/video' |
18 | import { buildNSFWFilter, getCountVideos } from '../../../helpers/express-utils' | 23 | import { buildNSFWFilter, getCountVideos } from '../../../helpers/express-utils' |
19 | import { VideoFilter } from '../../../../shared/models/videos/video-query.type' | 24 | import { VideoFilter } from '../../../../shared/models/videos/video-query.type' |
diff --git a/server/models/activitypub/actor-follow.ts b/server/models/activitypub/actor-follow.ts index 529cb35cc..10c13304f 100644 --- a/server/models/activitypub/actor-follow.ts +++ b/server/models/activitypub/actor-follow.ts | |||
@@ -15,8 +15,7 @@ import { | |||
15 | Max, | 15 | Max, |
16 | Model, | 16 | Model, |
17 | Table, | 17 | Table, |
18 | UpdatedAt, | 18 | UpdatedAt |
19 | Sequelize | ||
20 | } from 'sequelize-typescript' | 19 | } from 'sequelize-typescript' |
21 | import { FollowState } from '../../../shared/models/actors' | 20 | import { FollowState } from '../../../shared/models/actors' |
22 | import { ActorFollow } from '../../../shared/models/actors/follow.model' | 21 | import { ActorFollow } from '../../../shared/models/actors/follow.model' |