Open AshotN opened 2 years ago
I fixed that with following:
features: [
importExportFeature(),
({ actions }) => {
delete actions.import;
return { actions };
},
],
That's pretty smart. It doesn't cause any issues?
You could also do
features: [
importExportFeature(),
],
options: {
actions: {
import: { isAccessible: false }
}
}
Is it possible currently to disable the import function while keeping the export?