Skip to content

Commit 50e431a

Browse files
committed
fix: renaming projects now works for 3-letter project names.
1 parent 2671b9c commit 50e431a

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/kc_angular/src/app/components/project-components/project-info.component.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
/**
2-
Copyright 2022 Rob Royce
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
1+
/*
2+
* Copyright (c) 2023 Rob Royce
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
1515
*/
1616
import {Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges} from '@angular/core';
1717
import {KcProject} from "../../models/project.model";
@@ -168,7 +168,7 @@ export class ProjectInfoComponent implements OnInit, OnChanges, OnDestroy {
168168
takeUntil(this.cleanUp),
169169
debounceTime(1000),
170170
distinctUntilChanged((prev, curr) => {
171-
if (curr.name.length <= 3) {
171+
if (curr.name.length < 3) {
172172
return true;
173173
}
174174

0 commit comments

Comments
 (0)