-
Notifications
You must be signed in to change notification settings - Fork 28
Problem Code #32
Comments
Are you using the new react-admin? I know this issue happens on the new react-admin, to use this plugin you must use admin-on-rest. |
@almahdi I'm with less time than should, but I want to take some time to update it to the new admin... |
@sidferreira I'm working on it since I need it for a project. Once I'm done I shall submit a PR. |
@almahdi Did you manage to complete this? We are also using the latest |
@afilp @sidferreira I will try to make some time this week to send a pull request. |
@almahdi feel free to email me too, I'll try to get some time to work on it |
@sidferreira Thanks a lot for trying to find some time to work on this package! Is it possible that you also update it to support |
Hi @almahdi , |
Hi @almahdi , Regards, |
'./reference' does not contain an export named 'AUTH_CHECK'.
import React from 'react';
import { Admin, Resource } from 'admin-on-rest';
import { RestClient } from 'aor-firebase-client';
import { PostList } from './posts';
const firebaseConfig = {
apiKey: "",
authDomain: "",
databaseURL: "",
storageBucket: "",
messagingSenderId: ""
};
const clientOptions = {
timestampFieldNames: {
createdAt: 'createdAt',
updatedAt: 'updatedAt'
},
trackedResources: {
name: 'posts', // The name reference to be used in all other places in AOR
path: 'blog', // The path in the database. If missing will use the name
public: true,
uploadFields: [] // The string name of the field
} // A single string assumes path and name as equal, non private and without upload fields
}
const App = () => (
< Admin restClient={RestClient(clientOptions)} >
< /Admin>
);
export default App;
The text was updated successfully, but these errors were encountered: