You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!listResource.value?.options?.allowedActions?.create) {
200
+
returnfalse;
201
+
}
202
+
203
+
if (listResourceRefColumn.value&&!listResourceRefColumn.value.showIn.create) {
204
+
returnfalse;
205
+
}
206
+
returntrue;
207
+
});
208
+
186
209
watch([page], async () => {
187
210
awaitgetList();
188
211
});
@@ -277,6 +300,11 @@ onMounted( async () => {
277
300
method:'POST',
278
301
body: {},
279
302
})).resource;
303
+
304
+
if (listResource.value?.options?.allowedActions?.create&&listResourceRefColumn.value&&!listResourceRefColumn.value.showIn.create) {
305
+
showWarningTost(`Resource '${listResource.value.resourceId}' column '${listResourceRefColumn.value.name}' should be editable on create page for 'create' action to be enabled`, 10000);
0 commit comments