Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tch1001 committed Oct 8, 2022
1 parent 061398d commit fc6a801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ProjectList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
>
<el-button
link
type="primary"
type="danger"
size="small"
@click="delete_project(scope.$index, scope.row)"
>Delete</el-button
Expand Down
2 changes: 1 addition & 1 deletion src/views/Graph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default defineComponent({
color_node: function (node_id: any, color: any, priority: number, override: boolean) {
const n = graphData.nodes.value[`node${node_id}`]
if (!n) return
console.log(n, priority)
if(!priority) priority = 0;
if (override) {
n.color = color;
n.highest_priority = -100;
Expand Down

0 comments on commit fc6a801

Please sign in to comment.