@@ -10,12 +13,12 @@
@@ -24,7 +27,7 @@
{{ preprint()?.title }}
}
- @if (moderationMode()) {
+ @if (moderationMode() && !isMigrated) {
@if (
isPreprintLoading() ||
areReviewActionsLoading() ||
@@ -32,9 +35,9 @@
{{ preprint()?.title }}
areRequestActionsLoading()
) {
- } @else {
+ } @else if (provider) {
{{ preprint()?.title }}
class="w-full md:w-11rem"
styleClass="w-full"
[label]="editButtonLabel() | translate"
+ [disabled]="isMigrated"
(onClick)="editPreprintClicked()"
/>
}
@@ -64,6 +68,7 @@ {{ preprint()?.title }}
class="w-full md:w-11rem"
styleClass="w-full"
[label]="'common.buttons.createNewVersion' | translate"
+ [disabled]="isMigrated"
(onClick)="createNewVersionClicked()"
/>
}
@@ -73,32 +78,39 @@ {{ preprint()?.title }}
styleClass="w-full"
[label]="'common.buttons.withdraw' | translate"
severity="danger"
+ [disabled]="isMigrated"
(onClick)="handleWithdrawClicked()"
/>
}
-
+
}