mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
Removed console logs.
This commit is contained in:
parent
7f598fa84d
commit
ecd2593063
@ -41,8 +41,6 @@ export default function WebsiteDetails({ websiteId }) {
|
|||||||
} = router;
|
} = router;
|
||||||
const path = `/website/${id.join('/')}`;
|
const path = `/website/${id.join('/')}`;
|
||||||
|
|
||||||
console.log({ router });
|
|
||||||
|
|
||||||
const BackButton = () => (
|
const BackButton = () => (
|
||||||
<Button
|
<Button
|
||||||
key="back-button"
|
key="back-button"
|
||||||
|
@ -23,8 +23,6 @@ export default function WebsiteChart({
|
|||||||
const dateRange = useDateRange(websiteId);
|
const dateRange = useDateRange(websiteId);
|
||||||
const { startDate, endDate, unit, value, modified } = dateRange;
|
const { startDate, endDate, unit, value, modified } = dateRange;
|
||||||
|
|
||||||
console.log({ websiteId, dateRange });
|
|
||||||
|
|
||||||
const { data } = useFetch(
|
const { data } = useFetch(
|
||||||
`/api/website/${websiteId}/pageviews`,
|
`/api/website/${websiteId}/pageviews`,
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,6 @@ export default async (req, res) => {
|
|||||||
|
|
||||||
if (website.user_id === user_id || is_admin) {
|
if (website.user_id === user_id || is_admin) {
|
||||||
let { share_id } = website;
|
let { share_id } = website;
|
||||||
console.log('exising id', share_id, website);
|
|
||||||
|
|
||||||
if (enable_share_url) {
|
if (enable_share_url) {
|
||||||
share_id = share_id ? share_id : getRandomChars(8);
|
share_id = share_id ? share_id : getRandomChars(8);
|
||||||
|
Loading…
Reference in New Issue
Block a user