Trim the custom Jupyter image string (#6529)

This commit is contained in:
Xin Hao 2023-12-08 00:11:56 +08:00 коммит произвёл GitHub
Родитель 003c421410
Коммит 65d1bfed18
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -99,7 +99,7 @@ export class FormNewComponent implements OnInit, OnDestroy {
// Use the custom image instead
if (notebook.customImageCheck) {
notebook.image = notebook.customImage;
notebook.image = notebook.customImage?.trim();
} else if (notebook.serverType === 'group-one') {
// Set notebook image from imageGroupOne
notebook.image = notebook.imageGroupOne;