UNPKG

graphdb-workbench

Version:
2 lines 852 B
export const __webpack_id__=81710;export const __webpack_ids__=[81710];export const __webpack_modules__={81710:()=>{function e(e,o,n){let a;e.loading=!1,e.initialized=!1,e.backupAndRestoreInfos=void 0,e.hasClusterOperation=!1,e.paused=!1,e.hasToShowValue=e=>"boolean"==typeof e||!!e,e.togglePause=()=>{e.paused=!e.paused};const t=()=>{e.loading||e.paused||(e.loading=!0,n.monitorBackup().then(o=>{e.backupAndRestoreInfos=o,e.initialized=!0,e.hasClusterOperation=e.backupAndRestoreInfos.some(e=>e.nodePerformingClusterBackup)}).finally(()=>e.loading=!1))};e.$on("$destroy",()=>{a&&o.cancel(a)}),t(),a=o(()=>t(),2e3)}angular.module("graphdb.framework.monitoring.backupandrestore.controllers",[]).controller("BackupAndRestoreCtrl",e),e.$inject=["$scope","$interval","MonitoringRestService"]}}; //# sourceMappingURL=81710.e64c55db28e4942fc1dc.bundle.js.map