Are you sure you want to delete bucket ${bucketName}? This action cannot be undone.
`, menuOptions: [ { name: 'Cancel', action: async (modal: any) => { modal.destroy(); }, }, { name: 'Delete', action: async (modal: any) => { await appstate.bucketsStatePart.dispatchAction(appstate.deleteBucketAction, { bucketName, }); modal.destroy(); }, }, ], }); } private async showPolicyModal(bucketName: string): PromiseNo policies attached to this bucket.
`}${attached.length > 0 ? 'All policies are already attached.' : 'No policies defined yet. Create policies in the Policies view.' }
`}