{{define "content"}}{{$d := .Data}} {{template "back-nav" dict "Href" "/import/notion" "Label" "Import from Notion"}} {{if eq $d.Act "disconnect"}}{{template "page-header" dict "Title" "Disconnect from Notion?"}}
Mapa deletes the integration's secret. The pages already imported stay, and so does Mapa's record of which Notion page each came from, so connecting again later carries on from there. An interrupted run can't be resumed.
{{else if eq $d.Act "finish"}}{{template "page-header" dict "Title" "Finish the import?"}}Finish when Notion is no longer where this team writes. Mapa deletes the integration's secret and every copy of Notion's pages it kept for the run.
It keeps its private record of which Notion page became which Mapa page, for when the databases move to Fichas. After this, importing again is a new import, which would create a second copy of every page.
{{else}}{{template "page-header" dict "Title" "Forget the import?"}}Mapa deletes the integration's secret, and its record of which Notion page became which Mapa page. The imported pages stay as they are. Without the record, a later import can't update them, and would create a second copy of every page.
{{end}}Then remove the integration from Notion's connection settings.
{{if $d.Active}}{{template "form-error" "An import is running. Stop the run first."}} {{else}}{{template "confirm-form" dict "Action" $d.Action "Label" (index (dict "disconnect" "Disconnect" "finish" "Finish import" "forget" "Forget the import") $d.Act) "Danger" true "CancelHref" "/import/notion" "CancelLabel" "Cancel"}}{{end}} {{end}}