From 445ed4d604b4f5bf5e89c12677d4e674fd048b2c Mon Sep 17 00:00:00 2001 From: Hayden Faulds Date: Thu, 18 Jan 2018 16:44:32 +0000 Subject: [PATCH] fix ng-disabled in v1ImportModal --- services/web/app/views/project/list/modals.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/list/modals.pug b/services/web/app/views/project/list/modals.pug index c3d86feb70..c31297e696 100644 --- a/services/web/app/views/project/list/modals.pug +++ b/services/web/app/views/project/list/modals.pug @@ -380,10 +380,10 @@ script(type="text/ng-template", id="v1ImportModalTemplate") if settings.overleaf && settings.overleaf.host a.btn.btn-primary.v1-import-btn( ng-href=settings.overleaf.host + "/{{project.id}}" - ng-class="{disabled: v1ImportForm.inflight || v1ImportForm.success}" + ng-class="{disabled: v1ImportForm.inflight || v1ImportForm.response.success}" ) No thanks, open in v1 input.btn.btn-primary.v1-import-btn( type="submit", value="Yes, move project to v2" - ng-disabled="v1ImportForm.inflight || v1ImportForm.success" + ng-disabled="v1ImportForm.inflight || v1ImportForm.response.success" )