mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 16:57:08 +02:00
refactor(editor): Remove unused audit store (no-changelog) (#20651)
This commit is contained in:
parent
b32a094bef
commit
9d4db4b658
|
|
@ -1,16 +0,0 @@
|
|||
import { computed } from 'vue';
|
||||
import { defineStore } from 'pinia';
|
||||
import { EnterpriseEditionFeature } from '@/constants';
|
||||
import { useSettingsStore } from '@/stores/settings.store';
|
||||
|
||||
export const useAuditLogsStore = defineStore('auditLogs', () => {
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
const isEnterpriseAuditLogsFeatureEnabled = computed(
|
||||
() => settingsStore.isEnterpriseFeatureEnabled[EnterpriseEditionFeature.AuditLogs],
|
||||
);
|
||||
|
||||
return {
|
||||
isEnterpriseAuditLogsFeatureEnabled,
|
||||
};
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user