Skip to content

Commit

Permalink
Merge branch 'main' into gurj/refresh-pw
Browse files Browse the repository at this point in the history
  • Loading branch information
gurjmatharu authored Oct 25, 2023
2 parents 7c2720f + 222a8ad commit fbcd81c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ import Button from 'primevue/button';
import { useConfirm } from 'primevue/useconfirm';
import { useToast } from 'vue-toastification';
// State
import { useInnkeeperTenantsStore } from '@/store';
import { useKeyManagementStore } from '@/store';
import { useI18n } from 'vue-i18n';
const { t } = useI18n();
const confirm = useConfirm();
const toast = useToast();
const innkeeperTenantsStore = useInnkeeperTenantsStore();
const keyManagementStore = useKeyManagementStore();
// Props
const props = defineProps({
Expand All @@ -46,7 +46,7 @@ const deleteRecord = (event: any) => {
});
};
const doDelete = () => {
innkeeperTenantsStore
keyManagementStore
.deleteApiKey(props.recordId)
.then(() => {
toast.success(t('apiKey.deleteSuccess'));
Expand Down

0 comments on commit fbcd81c

Please sign in to comment.