diff --git a/.gitignore b/.gitignore index 5c26bd1..13efd40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,48 @@ -__pycache__/ -node_modules/ -dist/ -.angular/ +# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. + +# Compiled output +/dist +/tmp +/out-tsc +/bazel-out + +# Node +/node_modules +npm-debug.log +yarn-error.log + +# IDEs and editors +.idea/ +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/mcp.json +.history/* + +# Miscellaneous +/.angular/cache +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings +__screenshots__/ + +# System files +.DS_Store +Thumbs.db + +# Playwright +/test-results/ +/playwright-report/ diff --git a/src/app/conectar/source-dialog.ts b/src/app/conectar/source-dialog.ts index 2616115..ad58327 100644 --- a/src/app/conectar/source-dialog.ts +++ b/src/app/conectar/source-dialog.ts @@ -31,6 +31,7 @@ export interface SourceDialogData { guided?: Guided | null; label?: string; } +const NONE: string[] = []; export interface SourceDialogResult { guided: Guided; label: string; @@ -200,7 +201,7 @@ export class SourceDialog { } protected listed(name: string): string[] { const v = this.value(name); - return Array.isArray(v) ? (v as string[]) : []; + return Array.isArray(v) ? (v as string[]) : NONE; } protected columnOptions(name: string): string[] { return [...new Set([...this.columns(), ...this.listed(name)])];