Updated date range handling. Fixed share page.
This commit is contained in:
1 parent
3fc5f5151b
commit
696d9c978c
28 files changed
+166
-280
No files matched your search
@@ -18,7 +18,7 @@ function DateFilter({ websiteId, value, className }) {
|
||||
const [showPicker, setShowPicker] = useState(false);
|
||||
|
||||
async function handleDateChange(value) {
|
||||
if (value === 'all') {
|
||||
if (value === 'all' && websiteId) {
|
||||
const data = await get(`/websites/${websiteId}`);
|
||||
|
||||
if (data) {
|
||||
|
||||
Reference in new issue
Block a user