mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
Merge branch 'main' of https://github.com/heyputer/puter
This commit is contained in:
commit
8ed5db1734
@ -91,7 +91,7 @@ class AppES extends BaseES {
|
||||
( await old_entity.get('name') !== await entity.get('name') );
|
||||
if ( throw_it && extra.options && extra.options.dedupe_name ) {
|
||||
const base = await entity.get('name');
|
||||
let number = 0;
|
||||
let number = 1;
|
||||
while ( await app_name_exists(`${base}-${number}`) ) {
|
||||
number++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user