aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/helpers/utils.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-10 09:05:29 +0100
committerChocobozzz <me@florianbigard.com>2021-02-10 11:36:40 +0100
commit21e493d4d8acb7a650eff3a30cd7e086b3cb8a28 (patch)
treef3a451d6a59925907c62b0c36db99745a43b67db /client/src/app/helpers/utils.ts
parentead64cdf8d917fa0d6a20271e42378f38e5f2407 (diff)
downloadPeerTube-21e493d4d8acb7a650eff3a30cd7e086b3cb8a28.tar.gz
PeerTube-21e493d4d8acb7a650eff3a30cd7e086b3cb8a28.tar.zst
PeerTube-21e493d4d8acb7a650eff3a30cd7e086b3cb8a28.zip
Add ability to set a custom quota
Diffstat (limited to 'client/src/app/helpers/utils.ts')
-rw-r--r--client/src/app/helpers/utils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/helpers/utils.ts b/client/src/app/helpers/utils.ts
index b4e26d792..6d7e76b11 100644
--- a/client/src/app/helpers/utils.ts
+++ b/client/src/app/helpers/utils.ts
@@ -1,10 +1,10 @@
1import { SelectChannelItem } from 'src/types/select-options-item.model'
1import { DatePipe } from '@angular/common' 2import { DatePipe } from '@angular/common'
2import { HttpErrorResponse } from '@angular/common/http' 3import { HttpErrorResponse } from '@angular/common/http'
3import { Notifier } from '@app/core' 4import { Notifier } from '@app/core'
4import { SelectChannelItem } from '@app/shared/shared-forms' 5import { HttpStatusCode } from '@shared/core-utils/miscs/http-error-codes'
5import { environment } from '../../environments/environment' 6import { environment } from '../../environments/environment'
6import { AuthService } from '../core/auth' 7import { AuthService } from '../core/auth'
7import { HttpStatusCode } from '@shared/core-utils/miscs/http-error-codes'
8 8
9// Thanks: https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript 9// Thanks: https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript
10function getParameterByName (name: string, url: string) { 10function getParameterByName (name: string, url: string) {