Fix issue where Points walkthrough could not be completed in some cases due to downgrade operation (re: #6103)

This commit is contained in:
Quincy Morgan
2019-04-02 20:23:27 -07:00
parent 8779e1a6dc
commit bf391c997a

View File

@@ -245,7 +245,7 @@ export function modeSelect(context, selectedIDs) {
var downgradeOperation = Operations.operationDowngrade(selectedIDs, context);
// don't allow delete if downgrade is available
var lastOperation = downgradeOperation.available() ? downgradeOperation : Operations.operationDelete(selectedIDs, context);
var lastOperation = !context.inIntro() && downgradeOperation.available() ? downgradeOperation : Operations.operationDelete(selectedIDs, context);
// deprecation warning - Radial Menu to be removed in iD v3
var isRadialMenu = context.storage('edit-menu-style') === 'radial';