mirror of
https://github.com/fluencelabs/dashboard
synced 2025-04-24 23:32:14 +00:00
delete debug
This commit is contained in:
parent
0f10362efe
commit
037ca7192c
@ -1,7 +1,7 @@
|
||||
module Modules.View exposing (..)
|
||||
|
||||
import Dict exposing (Dict)
|
||||
import Html exposing (Html, a, div, p, span, text)
|
||||
import Html exposing (Html, a, div, p, text)
|
||||
import Html.Attributes exposing (attribute)
|
||||
import Maybe.Extra
|
||||
import Model exposing (Model, PeerData)
|
||||
@ -61,6 +61,6 @@ viewService : ModuleShortInfo -> Html msg
|
||||
viewService moduleInfo =
|
||||
div [ classes "fl w-third-ns pa2" ]
|
||||
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white link dim black mw5 hide-child pa2 br2" ]
|
||||
[ p [ classes "tl di" ] [ span [ classes "b pl2" ] [ text moduleInfo.moduleInfo.name ], span [ classes "di fr pr2" ] [ instancesText moduleInfo.instanceNumber ] ]
|
||||
[ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1" ] [ text moduleInfo.moduleInfo.name ], div [ classes "fl w-100 pl1" ] [ instancesText moduleInfo.instanceNumber ] ]
|
||||
]
|
||||
]
|
||||
|
@ -27,10 +27,6 @@ parse url =
|
||||
|
||||
routeView : Model -> Route -> Html Msg
|
||||
routeView model route =
|
||||
let
|
||||
_ =
|
||||
Debug.log "page" route
|
||||
in
|
||||
case route of
|
||||
Page page ->
|
||||
case page of
|
||||
|
@ -87,10 +87,6 @@ update msg model =
|
||||
( updatedModel, Cmd.none )
|
||||
|
||||
_ ->
|
||||
let
|
||||
_ =
|
||||
Debug.log "event in ELM" name
|
||||
in
|
||||
( model, Cmd.none )
|
||||
|
||||
ToggleInterface id ->
|
||||
|
@ -22,11 +22,11 @@ import { registerService } from 'fluence/dist/globalState';
|
||||
import { ServiceOne } from 'fluence/dist/service';
|
||||
import * as serviceWorker from './serviceWorker';
|
||||
import { Elm } from './Main.elm';
|
||||
import { stage, faasNet } from './environments';
|
||||
import { faasNet } from './environments';
|
||||
|
||||
const relayIdx = 1;
|
||||
|
||||
export const relays: { peerId: string; multiaddr: string }[] = stage;
|
||||
export const relays: { peerId: string; multiaddr: string }[] = faasNet;
|
||||
|
||||
function genFlags(peerId: string): any {
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user