mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
fix(annotation layers): remove redirect on layer edit (#12063)
This commit is contained in:
parent
862c251924
commit
52e970a520
@ -122,10 +122,6 @@ const AnnotationLayerModal: FunctionComponent<AnnotationLayerModalProps> = ({
|
||||
delete currentLayer.id;
|
||||
delete currentLayer.created_by;
|
||||
updateResource(update_id, currentLayer).then(() => {
|
||||
if (onLayerAdd) {
|
||||
onLayerAdd();
|
||||
}
|
||||
|
||||
hide();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user