1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #6213 from thornbill/eslint-naming

Add eslint rules for consistent naming
This commit is contained in:
Bill Thornton 2024-11-21 15:26:54 -05:00 committed by GitHub
commit 4fed499c99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 79 additions and 39 deletions

View file

@ -12,7 +12,7 @@ import AccessContainer from '../../../../components/dashboard/users/AccessContai
import CheckBoxElement from '../../../../elements/CheckBoxElement';
import Page from '../../../../components/Page';
type userInput = {
type UserInput = {
Name?: string;
Password?: string;
};
@ -110,7 +110,7 @@ const UserNew = () => {
loadUser();
const saveUser = () => {
const userInput: userInput = {};
const userInput: UserInput = {};
userInput.Name = (page.querySelector('#txtUsername') as HTMLInputElement).value;
userInput.Password = (page.querySelector('#txtPassword') as HTMLInputElement).value;
window.ApiClient.createUser(userInput).then(function (user) {