diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-10 09:05:29 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-10 11:36:40 +0100 |
commit | 21e493d4d8acb7a650eff3a30cd7e086b3cb8a28 (patch) | |
tree | f3a451d6a59925907c62b0c36db99745a43b67db /client/src/app/helpers/utils.ts | |
parent | ead64cdf8d917fa0d6a20271e42378f38e5f2407 (diff) | |
download | PeerTube-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.ts | 4 |
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 @@ | |||
1 | import { SelectChannelItem } from 'src/types/select-options-item.model' | ||
1 | import { DatePipe } from '@angular/common' | 2 | import { DatePipe } from '@angular/common' |
2 | import { HttpErrorResponse } from '@angular/common/http' | 3 | import { HttpErrorResponse } from '@angular/common/http' |
3 | import { Notifier } from '@app/core' | 4 | import { Notifier } from '@app/core' |
4 | import { SelectChannelItem } from '@app/shared/shared-forms' | 5 | import { HttpStatusCode } from '@shared/core-utils/miscs/http-error-codes' |
5 | import { environment } from '../../environments/environment' | 6 | import { environment } from '../../environments/environment' |
6 | import { AuthService } from '../core/auth' | 7 | import { AuthService } from '../core/auth' |
7 | import { 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 |
10 | function getParameterByName (name: string, url: string) { | 10 | function getParameterByName (name: string, url: string) { |