Merge pull request #3202 from bluewave-labs/fix/dockerfile
remove console.log, fix docker file
This commit is contained in:
5 files changed
+3
-6
No files matched your search
@@ -268,7 +268,6 @@ const TeamPanel = () => {
|
|||||||
cursor: isSuperAdmin ? "pointer" : "default",
|
cursor: isSuperAdmin ? "pointer" : "default",
|
||||||
},
|
},
|
||||||
onRowClick: (row) => {
|
onRowClick: (row) => {
|
||||||
console.log(row);
|
|
||||||
if (isSuperAdmin) {
|
if (isSuperAdmin) {
|
||||||
navigate(`/account/team/${row.id}`);
|
navigate(`/account/team/${row.id}`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ const OptionsHeader = ({
|
|||||||
}) => {
|
}) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
console.log(monitors);
|
|
||||||
const monitorNames = typeof monitors !== "undefined" ? Object.values(monitors) : [];
|
const monitorNames = typeof monitors !== "undefined" ? Object.values(monitors) : [];
|
||||||
const filterOptions = [
|
const filterOptions = [
|
||||||
{ id: "all", name: t("incidentsOptionsHeaderFilterAll") },
|
{ id: "all", name: t("incidentsOptionsHeaderFilterAll") },
|
||||||
|
|||||||
@@ -112,8 +112,6 @@ const IncidentDetailsModal = ({ open, incidentId, onClose, onResolved }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const renderContent = () => {
|
const renderContent = () => {
|
||||||
console.log(incidentData);
|
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
return (
|
return (
|
||||||
<GenericFallback
|
<GenericFallback
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ const useCreateStatusPage = (isCreate) => {
|
|||||||
const [isLoading, setIsLoading] = useState(false);
|
const [isLoading, setIsLoading] = useState(false);
|
||||||
const [networkError, setNetworkError] = useState(false);
|
const [networkError, setNetworkError] = useState(false);
|
||||||
const createStatusPage = async ({ form, id }) => {
|
const createStatusPage = async ({ form, id }) => {
|
||||||
console.log(id);
|
|
||||||
setIsLoading(true);
|
setIsLoading(true);
|
||||||
try {
|
try {
|
||||||
await networkService.createStatusPage({ form, isCreate, id });
|
await networkService.createStatusPage({ form, isCreate, id });
|
||||||
|
|||||||
@@ -13,6 +13,8 @@ RUN npm install
|
|||||||
|
|
||||||
COPY ../../ ./
|
COPY ../../ ./
|
||||||
|
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
CMD ["node", "index.js"]
|
CMD ["node", "dist/index.js"]
|
||||||
Reference in new issue
Block a user